1) json support upto the psgraph level
2) update the json structure in gui