docs: function JSONTransform(options) {
    // allow use without new
    if (!(this instanceof JSONTransform)) {
      return new JSONTransform(options);
    }
  
    this.isFirst = true;
  
    if (options.objectMode !== true) {
      // assume that if they're not giving us objects, this will be an array of strings
      this.isArray = true;
    } else {
      // otherwise they either tell us, or we're assuming they want the smallest form of this data, which is an object.
      this.isArray = options.isArray || false;
    }
  
    this.options = options;
    this.keyProperty = options.keyProperty || 'key';
    this.valueProperty = options.valueProperty || 'value';
  
    // init Transform
    Transform.call(this, options);
  }