C++ fix: add std::map that corresponds to scala hashmap