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
dag_id = "test_dag"
    task_id = "op1"
    dag2_id = "test_dag2"
    dag3_id = "test_dag3"
    @staticmethod
    def clean_db():
        clear_db_runs()
        clear_db_dags()
        clear_db_serialized_dags()
    @classmethod
    def setUpClass(cls) -> None:
        super().setUpClass()
        with conf_vars({("api", "auth_backend"): "tests.test_utils.remote_user_api_auth_backend"}):
            cls.app = app.create_app(testing=True)  
        create_user(
            cls.app,  
            username="test",
            role_name="Test",
            permissions=[
                (permissions.ACTION_CAN_CREATE, permissions.RESOURCE_DAG),
                (permissions.ACTION_CAN_READ, permissions.RESOURCE_DAG),
                (permissions.ACTION_CAN_EDIT, permissions.RESOURCE_DAG),
                (permissions.ACTION_CAN_DELETE, permissions.RESOURCE_DAG),
            ],
        )
        create_user(cls.app, username="test_no_permissions", role_name="TestNoPermissions")  
        create_user(