what is the value of an "update or insert" call on `Map`? is that not just set?
`getOrInsert` here seems to be the Python "set_default" method on dicts, which is very useful at avoiding tedium in some basic data munging