code: function middenware() {
    return through.obj(function(file, encoding, callback) {
      //console.log('file path', path.basename(file.path));
      //console.log('json file contents', file.contents.toString());
      var stem = path.basename(file.path, '.json');
      
      middenOutput[stem] = midden(JSON.parse(file.contents.toString()), stem);
      //console.log('midden out (' + stem + '): ', middenOutput[stem]);
      callback(null, file);
      return;
    });
  }
docs: ***************************************************
  Define plugins
  ***************************************************