JSON.stringify circular reference fix
tables - first approach
tests - clean up
margins