genericize AnyXml() more

wraps xml.Marshal() if value is a structure