corrected usage of hashmap for json obj pairs
event functions in cvode template