@domcleal, yes, the default json root node is results
```
{
    "results": [
        {
            "id": 10,
            "name": "The Cloud"
        },
        {
            "id": 3,
            "name": "TLV"
        }
}
```
but somebody can change the above config setting to true, and then it would return
```
{
    "locations": [
        {
            "id": 10,
            "name": "The Cloud"
        },
        {
            "id": 3,
            "name": "TLV"
        }
}
```
Alternatively, somebody pass a parameter api/locations?root_name=data
```
{
    "data": [
        {
            "id": 10,
            "name": "The Cloud"
        },
        {
            "id": 3,
            "name": "TLV"
        }
}
```