Correct conversion from page/per_page params to from/size query
Allow for pagination in clients, return total with results