Use YAML Instead of JSON

Is there a way to directly edit the spec in YAML?