Trying to add pagination information support in JSON response