fix yaml syntax error and typo in key name
fix documentation for type_names and type_aliases
I guess the example was supposed to be a Ruby hash -- but you're right, most users would probably configure this via YAML. Thanks!
Yes, I got confused because I was unfamiliar with this dictionary syntax in yaml. Thanks for merging!