def getitem(value, key):
    """
    Does a getitem lookup on a value. Items that don't exist resolve to empty string.
    This should be a default filter, but it isn't, so now it is.
    """
    try:
        return value[key]
    except Exception:
        return ""