Refactored serialization of structured JSON logging to use Python's
native support for "extra" logging.LogRecord attributes over a
specialized log.Message class, and to include as much LogRecord data
as the class will allow us to reconstruct on the consuming end.
This should provide a more consistent interface for log records
regardless of where they originate, making implementation of T115137