Implement XML input/output for AssetMetadata.
Add tests which validate XML using XSD.