feature: machine-readable logging

This is a private, work-in-progress branch for machine-readable logging.

Some progress has been made, but there are still a few things that need doing.

I don't have good context for this, but is it a good idea to commit a private key?