Remove usage of Parallelizer, clean up debugging codes, adding json file removal for failed export