Write reads JSON from r and writes colorized, indented JSON to w.
indent is the string used for each level of nesting (e.g. "\t" or " ").
ANSI escape codes are always emitted; callers should suppress output to w
when color is not desired (e.g. when w is not a TTY).