Convert HTML to XML on Meteor server

I’m trying to send from meteor server atom/xml feed with xhtml data.
I tried xmldom, xmlserializer, parse5, html-to-json, but they incompatible with meteor’s node version, dependencies etc. problems. MeteorSSR renders pure Html, contains unclosed <img>,<br> etc,
does it exist compatible with Meteor html2xml package?