Fix: libcrmcommon: Escape XML text content when dumping XML as string
If special characters such as '<' are allowed in XML strings, the dumped strings may be unparsable.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>