def _get_nested(dict_, keys):
    """
    Nested get method for dictionaries (and lists, tuples).
    """
    try:
        for key in keys:
            dict_ = dict_[key]
    except (KeyError, IndexError, TypeError):
        return None
    return dict_