Set Content-Type to application/json when posting JSON