YAML requires quoting the entire value when it starts with a quote

Fixes #2280.