Handle flattened yaml structure for the service definitions