Fix formatting of XML