code: def visitJson(data, result, level):
      level += 1
      isValid = True
      while isValid:
          if "expr" in data:
              result += ("  " * level) + data["expr"] + "\n"
          if "children" in data:
              if data["children"] != "":
                  lenData = len(data["children"])
                  for i in range(lenData):
                      result = visitJson(
                          data["children"][i], result, level
                      )
                  return result
              else:
                  return result
  
file_path: blazingsql/pyblazing/pyblazing/apiv2/algebra/json_plan.py
imports: import collections
  import json
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: visitJson(data, result, level) and returns: result, result