func ensureStringMaps(in string) (map[string]interface{}, error) {
	userDataMap := make(map[string]interface{})
	if err := yaml.Unmarshal([]byte(in), &userDataMap); err != nil {
		return nil, errors.Annotate(err, "must be valid YAML")
	}
	out, err := utils.ConformYAML(userDataMap)
	if err != nil {
		return nil, err
	}
	return out.(map[string]interface{}), nil
}
// ensureStringMaps takes in a string and returns YAML in a map
// where all keys of any nested maps are strings.
ensureStringMaps takes in a string and returns YAML in a map
where all keys of any nested maps are strings.
// ensureStringMaps takes in a string and returns YAML in a map // where all keys of any nested maps are strings .
func ensureStringMaps(in string) (map[string]interface{}, error) {
	userDataMap := make(map[string]interface{})
	if err := yaml.Unmarshal([]byte(in), &userDataMap); err != nil {
		return nil, errors.Annotate(err, "must be valid YAML")
	}
	out, err := utils.ConformYAML(userDataMap)
	if err != nil {
		return nil, err
	}
	return out.(map[string]interface{}), nil
}
func ensureStringMaps ( in string ) ( map [ string ] interface { } , error ) { userDataMap := make ( map [ string ] interface { } ) if err := yaml . Unmarshal ( [ ] byte ( in ) , & userDataMap ) ; err != nil { return nil , errors . Annotate ( err , " " ) } out , err := utils . ConformYAML ( userDataMap ) if err != nil { return nil , err } return out . ( map [ string ] interface { } ) , nil }
ensureStringMaps takes in a string and returns YAML in a map
where all keys of any nested maps are strings.
ensureStringMaps takes in a string and returns YAML in a map where all keys of any nested maps are strings .