Fix: appendChild automatically adopt node
fix: empty document creation
fix: appendChild
fix: serialize encoding