You keep the query but also the limit and skip values, so when they
call the rest api for paging do this instead
collection.find(query, {skip:100, limit:100}).toArray/each/stream
don't attempt to serialize the cursor as it won't work.
in you rest api do
/api/users?limit=100&skip=100
and translate that to the find query above how you see fit.