Tdjson in undo stack

I’m not sure if this is a bug per se, but I’m wondering if I’m bumping up against a td limitation or one of my own understanding.

I’ve attached a simple demo of the problem I’m having, which is that adding a TDJ.addParametersFromJSONOp to an undo will undo setting the values to the targeted parameter,
but not creating them.

tdjson undo stack.toe (3.8 KB)

Is it possible for the undo stack to undo everything that TDJ is doing here?