Add User API
Added methods to represent objects as both dictionaries and json