SimpleXML addChild doesn't encode ampersands. Helper added to handle that.