def get_dict_val(dictionary, path, splitchar='/'):
    """
    Return the value of the dictionnary at the given path of keys.
    ----------
    INPUT
        |---- dictionary (dict) the dict to search in.
        |---- path (str) path-like string for key access ('key1/key2/key3' for ex.).
        |---- splitchar (str) the character to use to split the path into keys.
    OUTPUT
        |---- dictionary (dict or value) the value of the dictionnary at the
        |           provided key path.
    """
    for item in path.split(splitchar):
        dictionary = dictionary[item]
    return dictionary