Fix formatting of the array output