add strmap as a wrapper around hashmap