There is a delicious logic to your solution which, I fear, I might not have arrived at before I became mummified.
I've cut off the connectors, stripped the wires and will get some heat-shrink before continuing.
The wires are: red, blue, green, black, white and yellow.
I imagine they must all...