Hosts API returning more that one instance of lifecycle environment - which one to use?

Problem:
When querying a host via the API, we get different fields representing the hosts lifecycle environment:

...
"lifecycle_environment_id":1,
"lifecycle_environment_name":"Library",
"lifecycle_environment":{"id":1,"name":"Library"},
...

So it is returning the same information once as a structured hash and once in seperate simple fields.
Is one of these fields deprecated or are they just there to “use what you want”?

Foreman and Proxy versions:
Foreman 3.18
Katello 4.1