Fix display of array type in logged message