* Fixed a bug in pushData/pushGlobalData that would break pages if the JSON for the data happened to include the string </script>
* Refactored the JSON filter's functionality into a jsonForHtml method that can be used elsewhere