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