Added JSON output option

Logging could be structured as JSON if passivedns is started with -j/-J.

To enable this feature, --enable-json must be passed to configure.