added '.distinct()' to result query on ModelJsonMixin to prevent duplicates