Only apply colors when output is a terminal
Only apply colors when output is a terminal

This allows you to pipe to tools like "less" without adding the colors so it will display correctly.

It still colors when dumping to a terminal directly.
winny-/pjson,igorgue/pjson