code: def format_param_list(listed_params, output_name):
          '''
              Utility method for formatting lists of parameters for api consumption
              Useful for email address lists, etc
              Args:
                  listed_params (list of values) - the list to format
                  output_name (str) - the parameter name to prepend to each key
          '''
          output_payload = {}
          if listed_params:
              for index, item in enumerate(listed_params):
                  output_payload[str(output_name) + "[" + str(index) + "]" ] = item
          return output_payloaf format_param_list(listed_params, output_name):
          '''
              Utility method for formatting lists of parameters for api consumption
              Useful for email address lists, etc
              Args:
                  listed_params (list of values) - the list to format
                  output_name (str) - the parameter name to prepend to each key
          '''
          output_payload = {}
          if listed_params:
              for index, item in enumerate(listed_params):
                  output_payload[str(output_name) + "[" + str(index) + "]" ] = item
          return output_payload
docs: Utility method for formatting lists of parameters for api consumption
              Useful for email address lists, etc
              Args:
                  listed_params (list of values) - the list to format
                  output_name (str) - the parameter name to prepend to each key