Set MetadataFactory on XmlSerializer