Tweak logger functionality to make sure everything was string.
Make sure dicts don't get entirely overwritten.