I have the following structure in JSON/JavaScript:

```json
{
  "comments": [
    {
      "id": 1,
      "content": "lorem ipsum",
      "answers": []
    },
    {
      "id": 2,
      "content": "lorem ipsum",
      "answers": [
        {
          "id": 30,
          "content": "lorem ipsum"
        }
      ]
    },
    {
      "id": 3,
      "content": "lorem ipsum",
      "answers": [
        {
          "id": 99,
          "content": "lorem ipsum"
        },
        {
          "id": 103,
          "content": "lorem ipsum"
        }
      ]
    },
    {
      "id": 5,
      "content": "comment",
      "answers": []
    }
  ]
}

```

I need to create an array containing the id of all comments, including answers type comments

The end should look like this

```
[1, 2, 3, 5, 30, 99, 103]

```

Can I just use `map`, `reduce` and `filter`?

What can I try next?