Serializes to the yaml section's map shape.
Map<String, String> toYaml() { return { 'name': name, 'apiType': apiType, 'baseUrl': baseUrl, 'keyName': ?keyName, 'modelId': modelId, }; }