Issue #2580591 by nedjo: fix error "Object support when dumping a YAML file has been disabled." on feature generation