-- @/lua/common/utils.lua:1379
-- replace multiple references to a table with a special token
function flattenTable(tbl)
if type(tbl) ~= 'table' then return nil end
_flattenTable_rec(tbl, {}, '')
return tbl
end
--_createGraphvizFile(filename..'.dot', snapshot)
flattenTable(snapshot)
jsonWriteFile(filename, snapshot, true)