Loops json code:

Author: joann Nair