code: def format_message(self, field_dict):
      assert (
          "time" in field_dict
      ), "Missing required Scribe field 'time'"
      message = defaultdict(dict)
      for field, value in field_dict.items():
          if field in self.schema["normal"]:
              message["normal"][field] = str(value)
          elif field in self.schema["int"]:
              message["int"][field] = int(value)
          elif field in self.schema["float"]:
              message["float"][field] = float(value)
          else:
              raise ValueError(
                  f"Field {field} is not currently used, be intentional about adding new fields"
              )
      return message
  
file_path: pytorch/benchmarks/upload_scribe.py
imports: import argparse
  import json
  import os
  import subprocess
  import time
  from collections import defaultdict
  import requests
label_desc: Use image node_id 2 for calling the ScribeUploader obj's underlying member method code with example usage: obj.format_message(field_dict) and returns: message