formatting of arrays in attributes for XmlBuilder