Change format of photos in Buildings.json.

context.getResources().getIdentifier can just use the drawable name.