This tool writes a json stream to a file.