explicitly making sure that the yaml the user gave us is valid