Serialize() gives wrong data after manipulating rows

After deleting rows either via the menu or using the deleteRow() function, the serialize() function starts giving wrong data.

It becomes problematic if the user deletes a row, and then types new values at the end of the sheet. At this point, serialize() reports cells with the same coordinates but different values.

For example, after one line was deleted and the new value was entered line 185, this is what serialize() returns:

You can see that the cell “A185” appears twice, once with the content from line 184 and once with its actual content.

Are we doing something wrong? This is on the trial version.