changes to outputResultJSON of Job and corrections to MouldAssembly/Buffer + OrderDecomposition