add support for hashmap events