I have requirement to convert VM file to an XML file and send it to Datahub. Can some one give me a sample example to convert VM file to an XML file?