Added CDATA support and workaround for XML root elements
Updated API views according to Boris Comments in JIRA