Added the ability to create query documents based on native MongoDB queries