Added option for special-case curlHttpAsJSON with content-type header
set to "application/json;charset=utf-8"