def dot_get(_dict, path, default=None):
    """Fetch item from nested dict; path is a dot-delimited key into
    the dictionary

    Returns: obj if found, specified default otherwise
    """
    for key in path.split('.'):
        try:
            _dict = _dict[key]
        except KeyError:
            return default
    return _dict