xml2json fixes