Edit Return the offset and limit to the process function so that the use...

I require the offset/limit inside of the process function in order to produce meta data for the frontend. E.g Hyper media queries
Actually... come to think of it. This is too specific I think. Maybe just pass the req in and use that?