Documentation
Serialize user object as response payload. Override this to return any/all of the user object in JSON responses. Return a dict.