Is there an equivalent to python's update in json?
Run
proc update(a:var JsonNode,b:JsonNode) = for key,value in b.pairs: a[key] = value