netjson: fix NetworkGraph output