set content type to application/json