[REFACTOR] ORM: move json logic from controller to label model