adds whitespace to generically stringified data structures for readability