added cdata function to XML views
Fix JSON to XML in docstring