loop through json and display on page