ORM with JSON interface