Support for JSON response in Chrome and Firefox