Reconstruct a previously serialized string back into an instance of a ``CacheModel``.

def deserialize(cls, string):
        """Reconstruct a previously serialized string back into an instance of a ``CacheModel``."""

        data = json.loads(string)
        for fieldname, value in data.items():
            data[fieldname] = getattr(cls, fieldname).cache_to_python(value)
        return cls(**data)