Loop the json array and log the text