static writeToJson(
    queryResult,
    identifier = (new Date().getTime() / 1000).toString(),
    outputPath = this.outputPath,
  ) {
    const output = JSON.stringify(queryResult, null, 2);
    if (!fsAdapter.fs.existsSync(outputPath)) {
      fsAdapter.fs.mkdirSync(outputPath);
    }
    const { name } = queryResult.meta.analyzerMeta;
    const filePath = this._getResultFileNameAndPath(name, identifier);

    fsAdapter.fs.writeFileSync(filePath, output, { flag: 'w' });
  }
Prints queryResult report as JSON to outputPath
@param {AnalyzerQueryResult} queryResult
@param {string} [identifier]
@param {string} [outputPath]