Switch to YAML to spec definitions