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
#
#
import os
import unittest
from datetime import datetime
from itsdangerous import URLSafeSerializer
from parameterized import parameterized
from airflow import DAG
from airflow.api_connexion.exceptions import EXCEPTIONS_LINK_MAP
from airflow.configuration import conf
from airflow.models import DagBag, DagModel
from airflow.models.serialized_dag import SerializedDagModel
from airflow.operators.dummy import DummyOperator
from airflow.security import permissions
from airflow.utils.session import provide_session
from airflow.www import app
from tests.test_utils.api_connexion_utils import assert_401, create_user, delete_user
from tests.test_utils.config import conf_vars
from tests.test_utils.db import clear_db_dags, clear_db_runs, clear_db_serialized_dags
SERIALIZER = URLSafeSerializer(conf.get('webserver', 'secret_key'))
FILE_TOKEN = SERIALIZER.dumps(__file__)
class TestDagEndpoint(unittest.TestCase):