Hello Joachim,
If the color correction has been performed then there will be non-empty lists in sensor.vignetting and in camera.vignetting.
To reset the color correction assign empty lists to them:
for sensor in chunk.sensors:
sensor.vignetting = []
for camera in chunk.cameras:
camera.vignetting = []