def _get_in(d, *keys):
    """Get a value from a series of nested dicts, or None if any don't exist."""

    for k in keys:
        try:
            if d == None:
                return None
            else:
                d = d[k]
        except KeyError:
            return None
    return d