@staticmethod<EOL><INDENT>def format_param_list(listed_params, output_name):<DEDENT>
output_payload = {}<EOL>if listed_params:<EOL><INDENT>for index, item in enumerate(listed_params):<EOL><INDENT>output_payload[str(output_name) + "<STR_LIT:[>" + str(index) + "<STR_LIT:]>" ] = item<EOL><DEDENT><DEDENT>return output_payload<EOL>
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