If you split the engine from the main strimmer shaft (4 screws) then you can use 13mm socket on T-bar to hold the drive end of flexi drive shaft.You can then undo the square nut at the strimmer head .
Still getting parts seems a real issue, so could try using a cut down socket to reclaim the plastic hex which fails
jcb poor design - common failure, June 2010