Added zend framework's json encoder -- allows us to embed javascript expressions in the json to be evaluated.