mongoDB query expression parser