Set content-type to application/json when posting