':return: Return state information for pickling'

def __reduce__(self):

    init_val = [[k, self[k]] for k in self]
    encoding = self.encoding
    token = self.token
    return (self.__class__, (init_val, encoding), {'token': token})
