':return: Return state information for pickling'

def __reduce__(self):

    init_val = self.items()
    encoding = self.encoding
    token = self.token
    return (self.__class__, (init_val, encoding), {'token': token})
