<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_simple(self, serializer=None):
 """ Prepare to serialization. :return dict: paginator params """

        return dict(
            count=self.paginator.count,
            page=self.page_number,
            num_pages=self.paginator.num_pages,
            next=self.next_page,
            prev=self.previous_page,
            resources=self.resources,
        )