some trace output added to BatchDecomposition/Reassembly
small correction in main JSON script