Actually, the JSON was valid (except one corner case, but I think that was not the program with that case). The java script library that drew the diagram from the JSON could not handle "closures" of iterations, as used in that example.
The current master branch should work thought, with the new library.
