Add json and sql tags to the photo struct