def METHOD_NAME(self):
    """
    Returns dict with keys/values to be serialised.
    """
    return {
        "data": self.data,
        "encoding": self.encoding,
        "recipients": self.recipients,
        "type": self.type_name,
    }