That is almost exacly what i was looking for. I also wanted it to display what array it was coming from. Im not sure I can modify your code to do that.
The out put would look like this:
array[1,1] = array2
array[1,2] = 3
array[1,3] = 'longer string'
array[2,1] = {'abcde'}
array[2,2] = 'lower'...