fix toJSON for ContinuationPoint