from typing import List
from typing import Dict


def _cx_to_dict(list_of_dicts: List[Dict], key_tag: str = "k", value_tag: str = "v") -> Dict:
    """Convert a CX list of dictionaries to a flat dictionary."""
    return {d[key_tag]: d[value_tag] for d in list_of_dicts}