Pretty print JSON data

See travis-ci/travis-ci#1555