@rahulP's method works.
The reason for this error is that in the ServiceModelConfiguration class, properties is a Map<String, ServiceModel>. This means that Spring Boot would expect to have a node in the configuration file that corresponds to the properties and that contains multiple key-value pairs under this node, each corresponding to a ServiceModel.