Use conventional fprintf(STDERR,...) rather than echo to output progress messages.
In this way we don't scribble on json on stdout.