Add photos to json API calls