I currently have an array of simple objects:

```
data = [{ "alternative hip hop": 3 }, { "escape room": 4 }, ...]

```

...to which I'd like to transform into

```
newData = [
    { "name": "alternative hip hop", "count": 3 },
    { "name": "escape room", "count" 4 }
]

```

Is this doable with a map? I've failed at figuring out how to do so with one.

lodash responses are welcome as well