Setup JSON logging for the application

We prefer our logs to be in JSON format when we consume them into our
centralised logging solution.