Minifying JSON output and Javascript code simultaneously