Revert "serializer doesn't need to bother with CDATA anymore"

OK, it might not be a problem to keep this.

This reverts commit 9350a0057a7f271d92662d7c6acd548d46a270cf.