added json logic graph output