set patch to content_type "application/json" by default