Also run sanitize on the content when converting from xml to json.}
Previously, the content was unsanitized when the data was converted
from json to xml, but not when converted from xml to json. This is
corrected now so that the conversion is reversible.