code: def get_times(json_data):
      r = {}
      for fwd_bwd in json_data:
          for test_name in json_data[fwd_bwd]:
              name = construct_name(fwd_bwd, test_name)
              r[name] = json_data[fwd_bwd][test_name]
      return r
  
imports: import argparse
  import json
  from collections import namedtuple
label_desc: Use image node_id 2 for calling a global function with example usage: get_times(json_data) and returns: r