Emulate MongoDB query language with jsonquery