changed output to json
Expermenting with a cross domain filter
JSON capability

added json capability and cross domain access to test with javascript
application