Fix for FireFox when issuing JSON requests