code: def dump_and_load(report):
      report_file = output_path(context.test_name)
      report.dump(report_file=report_file)
      with open(report_file) as f:
          return json.load(f)
  
file_path: catboost/library/python/testing/custom_linter_util/tests/test_reporter.py
imports: import json
  from library.python.testing.custom_linter_util.reporter import LintReport, LintStatus
  from yatest.common import output_path, context
label_desc: Use image node_id 1 for calling a global function with example usage: dump_and_load(report) and returns: json