Mojolicious 5.0 support (deprication of to_xml in Mojo::DOM 4.98)