code: def format_single_dict(dictionary, output_name):
          '''
              Currently used for metadata fields
          '''
          output_payload = {}
          if dictionary:
              for (k, v) in dictionary.items():
                  output_payload[output_name + '[' + k + ']'] = v
          return output_payloaf format_single_dict(dictionary, output_name):
          '''
              Currently used for metadata fields
          '''
          output_payload = {}
          if dictionary:
              for (k, v) in dictionary.items():
                  output_payload[output_name + '[' + k + ']'] = v
          return output_payload
docs: Currently used for metadata fields