Improved formatting of table constructors

The formatting of table constructors was creating an additional indentation and was not closing the bracket in a new line.