Changes for photos and JSON arrays