JS backend: fix KT-4297 PrimitiveHashMap returns wrong keys (string instead of original type)