add toChain3 for Dimple chaining test
change to all toJSON2 for big speed enhancement