angular working json parsed to ORM