A non-opinionated way of querying javascript objects