updated ConvertMorphs to use XmlWriter

Change-Id: I92c0bed804548d76140053969ef824b112630aeb