If payload contains invalid UTF-8, fall back to .inspect instead of blowing up in YAML serialization