purchase and shipment and cds json structure fix