fix XmlIndent() for goofy JSON objects