better pretty-printing for array values