docs: function rewriteJSONFile(filePath, rewriteFile, generator) {
      const jsonObj = generator.fs.readJSON(filePath);
      rewriteFile(jsonObj, generator);
      generator.fs.writeJSON(filePath, jsonObj, null, 2);
  }