Update XmlToArray class to one line