Take new routes into account.

/distinct.json?field=:field becomes /compute.json?o=distinct&f=:field

And res.body.items is now res.body.data