A python expression to MongoDB query translator