[RDF] Encode > in content when serializing to XML
This avoids the invalid combination "]]>" from appearing in the output
Merge pull request #477 from aurimasv/RDF-serialize-XML

[RDF] Encode > in content when serializing to XML