lib/xml-request.js
function _toJson(next) {
        options.xmlConverter(response.body, options, function(error, data) {
          if (error) return next(error);
          debug('Parsed XML', data);
          timer('time to parsed XML', Date.now() - _startTime);
          next(null, data);
        });
      }
function _toJson(next) {
        options.xmlConverter(response.body, options, function(error, data) {
          if (error) return next(error);
          debug('Parsed XML', data);
          timer('time to parsed XML', Date.now() - _startTime);
          next(null, data);
        });
      }
convert xml to json