TRESOR-451 extending Serializable for streaming (Composition xml encoding workaround)