optimizer fixes
save intermediate json stages with suffix json