added the converModelQueryToNative method