switch photos.json