If using a terminal then jq prints out JSON with color. I suggest color should either be disabled always or with some other flag (more complicated) jq flag: -M monochrome (don't colorize JSON);