add pretty print for (nested) arrays

see generated example on: https://gist.github.com/timaschew/6079997