Using map[interface{}]struct{} instead of []interface{} in cache