edited json builder for photos
merge