RFR: Update docs and examples to show YAML samples

I used http://jsontoyaml.com/ for converting JSON to YAML. Note that the RHS string values are placed under quotes. This is best considering some nuances of YAML parser and this is what jsontoyaml also recommends.