fix up some issues with photos and locations stored as json instead of root objects