Use the pretty option with inspect() as below.

inspect(data, pretty: true)