New hashmap impl

I've introduced a new hash map implementation (as_val_hashmap), which should be a drop-in replacement for as_hashmap. This implementation should work on keys of any type (numeric, string, etc.). Using this impl would avoid the constraints outlined in issue #2 .