Logging: Deal with the fact that message is now a dict, not an object.
fix error message rendering failing due to message being a dict