Adjust the JSON serialization of the DB object to hide the user's emails when asked
This allows the API to rely on these methods while keeping the user's
emails somewhat private (only somewhat as the information will be in available
in the tickets and requests git repos)