Prevent empty objects from polluting log message.