Paginated class must be jackson friendly.