curl_json: allow escaping the separator