function readJson(filePath, importMeta) {
  const dir = importMeta ? getModuleDirectory(importMeta) : LH_ROOT;
  filePath = path.resolve(dir, filePath);
  if (filePath.endsWith('.gz')) {
    return JSON.parse(gunzipSync(fs.readFileSync(filePath)).toString('utf-8'));
  }
  return JSON.parse(fs.readFileSync(filePath, 'utf-8'));
}
Return parsed json object.
Resolves path relative to importMeta.url (if provided) or LH_ROOT (if not provided).
Supports `.json.gz`

Note: Do not use this in core/ outside tests or scripts, as it
will not be inlined when bundled. Instead, use `fs.readFileSync`.

@param {string} filePath Can be an absolute or relative path.
@param {ImportMeta=} importMeta