[#76800748] Allow outputting logs in JSON format

This change allows us to output the logs in JSON rather than plain
text. An application flag has been used rather than changing it over
directly so that we can gracefully move our infrastructure over to use
it.
Merge pull request #69 from alphagov/76800748-log-out-as-json

[#76800748] Allow outputting logs in JSON format