update xml2json function call