So I am having an issue with an Object that I try to get the keys from as an array. Here is the object on the picture below

```
{
  "archive": null, 
  "branchs_id" : "5",
  "code": "12344"
}

```

When I try to get only keys as an array with `Object.keys(object)` it return a list of keys but not as an array but object. What should I do? I really need this to be an array

```
let firstObject = response[objecType + 's'][0];

__this.setState({ attributes: Object.keys(firstObject)}, () => {
   __this.forceUpdate();
});

```

I cannot .map through my this.state.attributes here as it is an object and not an array