def recursive_itemgetter(data_structure, keys):
    """Recursively retrieve items with getitem, for mix of lists, dicts..."""
    curr_data_structure = data_structure
    for curr_key in keys:
        curr_data_structure = curr_data_structure[curr_key]
    return curr_data_structure