Pay attention to the location of each layer(color) of the festoon cable.
Cut the festoon cable before each box, so you can leave the individual wires attached, and pull the "inside of the box.
Run the new festoon cable, and remove one wire at a time replacing it with the new wire.
I find it easiest starting at the j4 box, and working back to the j3, and finally the j2.