[REFACTOR] ORM: move user json logic to model
[REFACTOR] ORM: move more json logic to user model