[V8] Generalize NodeWrapperMap to be able to handle other sorts of keys