Made things prettier
Return json on photo upload.