make output_format a list of mime types so as to validate server response and handle other file formats