Fix array representation in console