Metadata re-write: Moving Avalon metadata from XML to RDF