Support populate options

Allow to pass populate() options in the query such as  `/api/user?p={"path":"objectives","match":{"username": "bob"}` to be able to do what I wanted as explained in #2