Escape strings using inspect to fix invalid YAML in report fields breaking things