extract JSON data from an http get response c++