code: def _list_json_files_recursively(data_dir):
      results = []
      for entry in sorted(bf.listdir(data_dir)):
          full_path = bf.join(data_dir, entry)
          ext = entry.split(".")[-1]
          if "." in entry and ext.lower() in ["json"]:
              results.append(full_path)
          elif bf.isdir(full_path):
              results.extend(_list_json_files_recursively(full_path))
      return results
  
file_path: lm-evaluation-harness/scripts/make_leaderboard.py
imports: import os
  from pathlib import Path
  import json
  import pandas
  import blobfile
label_desc: Use image node_id 3 for calling a global function with example usage: _list_json_files_recursively(data_dir) and returns: results