shrinks Array2Xml to our actual needs