def action_to_string(action_data):
    """Return the given action data as a string."""
    action_text = action_data['action']
    for key, value in action_data['params'].items():
        action_text += ',' + key + '=' + value
    return action_text