Use JsonConstructor for Pagination.cs