Added For loop to interate through JSON data.