When testing the following two endpoints, I get different results for the array of owners and tags. The former should be identical to the response of the latter endpoint.

`/api/v1/dags/{dag_id}/details`:

```json
{

  "owners": [],
  "tags": [
    {},
    {}
  ],
}
```

`/api/v1/dags/{dag_id}`:

```json
{

  "owners": [
    "airflow"
  ],
  "tags": [
    {
      "name": "example"
    },
    {
      "name": "example2"
    }
  ]
}
```
tests/api_connexion/endpoints/test_dag_endpoint.py
'timezone': "Timezone('UTC')",
        }
        assert response.json == expected
    def test_should_raises_401_unauthenticated(self):
        response = self.client.get(f"/api/v1/dags/{self.dag_id}/details")
        assert_401(response)
    def test_should_raise_404_when_dag_is_not_found(self):
        response = self.client.get(
            "/api/v1/dags/non_existing_dag_id/details", environ_overrides={'REMOTE_USER': "test"}
        )
        assert response.status_code == 404
        assert response.json == {
            'detail': 'The DAG with dag_id: non_existing_dag_id was not found',
            'status': 404,
            'title': 'DAG not found',
            'type': EXCEPTIONS_LINK_MAP[404],
        }
class TestGetDags(TestDagEndpoint):
    def test_should_respond_200(self):
        self._create_dag_models(2)
        response = self.client.get("api/v1/dags", environ_overrides={'REMOTE_USER': "test"})
        file_token = SERIALIZER.dumps("/tmp/dag_1.py")
        file_token2 = SERIALIZER.dumps("/tmp/dag_2.py")
        assert response.status_code == 200
        assert {
            "dags": [
                {
                    "dag_id": "TEST_DAG_1",
                    "description": None,
                    "fileloc": "/tmp/dag_1.py",