Make curl_json work