prettify structure of single-dimension array