Split user API, data access and JSON conversion.