migrate from go map to hashmap