header content-type changed to application/json