Added a YAML exampl,e equivalent with JSON example