Use as a JSON Model with custom query builder