Fix invalid JSON in XML/JSON rendering section.