simple example of json loop