Use dictobj to convert users to JSON in server