working mwe2 to xml generator