interface SerializeOptions Options for serialize. Properties optional onEntity: <T>(entity: T,serialized: string) => string Called for each serialized entity, allowing transformation of the XML output.