Wrap xml2json into as a stream endpoint