thanks to @luca-iachini for noticing that the escapign of text is not implemented correctly. this should address this.
still considering making this a breaking change since the output of the serializer is no longer compatible with that of previous versions
thanks to @luca-iachini for noticing that the escapign of text is not implemented correctly. this should address this. still considering making this a breaking change since the output of the serializer is no longer compatible with that of previous versions