code: function JSONReporter(dir, config) {
      this._config = config;
  
      var fileName = config.file || DEFAULT_FILE_NAME;
      this._filePath = path.join(dir, fileName);
  }
docs: JSON report generator.
  
  @param {string} dir - Report directory
  @param {object=} config - Reporter configuration
  @constructor