Added brackets to multidimensional array output