use json vs jsonp so that things work in extension