if 'asLocalUrl' in ka and not ka['asLocalUrl']:
            del ka['asLocalUrl']