If pygments is installed, produce colorized json output by default.
Fall back to standard uncolorized output if pygments is not installed.
Only output colorized json if output is a tty