constructor(
        node,
        { treeAdapter, fullRendering, slotMap, handleTags, pipeTags }
    ) {
        super(node, { treeAdapter });
        this.fullRendering = fullRendering;
        this.slotMap = slotMap;
        this.handleTags = handleTags;
        this.pipeTags = pipeTags;
        this.isPipeInserted = false;
        this.lastChildInserted = false;
        this.defaultSlotsInserted = false;
        this.serializedList = [];
        this._serializeNode = this._serializeNode.bind(this);
    }
CustomSerializer Class

It uses the serializer from parse5 and overrides the serialize functions for handling
the tags that are passed via handleTags and piping.

All the default nodes like <div>, <head> go to parse5 serializer
and the rest are handled in this class.

Node - Represets DOM Tree