Ah, I took the import statement from the example, seem JsonUtils was missing.
With
import std/[strtabs,json, jsonutils]
Run
I get
{"lines":[],"circs":[],"texts":[],"rects":[],"pads":[],"paths":[],"pins":[],"traces":[],"p":[],"at":[],"hover":false,"selected":false,"gx":0,"gy":0,"isNew":false}
Run
