def replace_single_len_lists(request_params: dict) -> dict:
    """Replace any single length lists with the only item in the list

    Args:
        request_params (dict): request params

    Returns:
        dict: request params with single length lists replaced
    """
    return {key: val[0] if len(val) == 1 else val for key, val in request_params.items()}