Simple weak value hash map implementation