convert spring boot application.properties ↔ application.yml
Spring Boot accepts both application.properties and application.yml. Properties files use flat dotted keys (spring.datasource.url=…), while YAML uses indented nested maps. This converter handles both directions: dotted keys become nested YAML maps, indexed array keys (list[0]=x) become YAML sequences, and values that would confuse a YAML parser are automatically quoted.