Fix Array.prototype.slice and employ Array.from() in XMLSerializer