Convert the Paginator into a dict

def to_dict(self):
        """ Convert the Paginator into a dict """

        return {
            'current': self.current,
            'first': self.first,
            'last': self.last,
            'next': self.more,
            'prev': self.prev,
        }