code: def stringify_summary(summary):
      
      for index, suite_summary in enumerate(summary["details"]):
  
          if not suite_summary.get("name"):
              suite_summary["name"] = "testcase {}".format(index)
  
          for record in suite_summary.get("records"):
              meta_datas = record['meta_datas']
              __stringify_meta_datas(meta_datas)
              meta_datas_expanded = []
              __expand_meta_datas(meta_datas, meta_datas_expanded)
              record["meta_datas_expanded"] = meta_datas_expanded
              record["response_time"] = __get_total_response_time(meta_datas_expanded)
docs: stringify summary, in order to dump json file and generate html report.