Iterate over the photos in the photo JSON