code: def encode(br):
      return {
          "suites": [BenchmarkSuiteCodec.encode(s) for s in br.suites]
      }
  
file_path: arrow/dev/archery/archery/benchmark/codec.py
imports: import json
  from ..benchmark.core import Benchmark, BenchmarkSuite
  from ..benchmark.runner import BenchmarkRunner, StaticBenchmarkRunner
  from ..benchmark.compare import BenchmarkComparator
label_desc: Use image node_id 1 for calling the BenchmarkRunnerCodec obj's underlying member method code with example usage: obj.encode(br) and returns: dict