Switch back to JSON as default:
* Force resolution of the logging message
* Sanitize any attributes before calling dumps