Fixes the Content-Type field for json requests