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.

Great! I was just browsing through and wanted to make sure.