Changing the underlying YAML support to allow returning a literal string, rather than a StringRef, would probably be a bigger refactor so I didn't do that.