Fixes missing arrays in xml2json conversion