Rail parser handles keys like "yes" or "no" evaluate to boolean true and false, therefore:
yes -> true
no -> false
In order to use the strings ‘yes’ and ‘no’ as keys, you need to wrap them with quotes:
"yes" : "yes"
"no" : "no"
There's a long list of reserved words with this behavior:
This applies to both YML and YAML files.