Fix for missing CDATA strings from asArray option

- as per http://www.php.net/manual/en/function.json-encode.php#97008