Similar to XPath but for querying MongoDB and FixedDB