Add support for JSON output to syslog/unix_stream/unix_dgram