Fix embedded attribute name for YAML and XML

Documentation was ok, but drivers where partially correct