writing YAML for surveys