I'm trying to retrieve some data from the web. The data is served either as JSON object or XML: in both cases I'd like **not to build a model** based on the structure of this XML/JSON but to just retrieve the data I need.

```
HttpResponseMessage response = await client.PostAsync(
"http://www.someAPI.com/api.xml",
requestContent);

response.EnsureSuccessStatusCode();

HttpContent content = response.Content;

```

If I have to build a model based on the data structure I'll receive back I'll do it: I just want to know if there is any alternative. Can I parse `content` as an anonymous type and, say, retrieve the data as arbitrary fields or properties or array indexes? 

Let's say: `response.Countries[5].CountryId`. Is it possible in any of these 2 types (JSON and XML)? How can I do it?