mutator: Properly process complex table constructors if the table is a local

Fixes #4
writer: Do not output a trailing space in a table records list