Add ability to send log files in JSON output.