Fix issue 12969 : opIndexAssign operator for JSONValue

identical to https://github.com/D-Programming-Language/phobos/pull/2269 but rebased against current master and with no extra merge commits