pub fn to_xml_with_root<T>(root_tag: &str, value: &T) -> Result<Bytes>where T: Serialize,
Serializes a type to bytes with a specified root tag.
Automatically includes the XML declaration.