Adding mongoengine query to json converter
Adding query to json converter