lib/commands/general.js
function (mapping) {
    const result = {};
    for (const [key, value] of _.toPairs(mapping)) {
      result[key] = _.isString(value) ? value : JSON.stringify(value);
    }
    return result;
  }
function (mapping) {
    const result = {};
    for (const [key, value] of _.toPairs(mapping)) {
      result[key] = _.isString(value) ? value : JSON.stringify(value);
    }
    return result;
  }
function ( mapping ) { const result = { } ; for ( const [ key , value ] of _ . toPairs ( mapping ) ) { result [ key ] = _ . isString ( value ) ? value : JSON . stringify ( value ) ; } return result ; }
Clients require the resulting mapping to have both keys and values of type string
Clients require the resulting mapping to have both keys and values of type string