Adding json option for photos