I sounds you got the bug tackled, i'm still exploring it, a next flight might test it deeper.
But in case you now ins and outs of it, could you report a bug.
Because such handeling should be automatable, ea me as a programmer (but not for parrot) often have to work with lists and xml files...