Replacing cstrhash with std::unordered_map here and there