code: function _loadJSON(file) {
    try {
      var data = _fs2.default.readFileSync(file);
    } catch (e) {
      throw new Error(file + " expected to be in JSON format");
    }
    return JSON.parse(data);
  }
docs: Convert file to JSON (used if file doesn't end in .json)