libcurl + rapidjson sample