minor fixes - replaced hashmap, added dojo/json, changed conditionals in services