Can you please explain your requirement in bit detail.
If you access those fields in Front end. You will see a lookup of the user/team entity with name.
In the backend when you will retrieve these value in coding, you will get this value as EntityReference under which you can get 3 details.. 1. entityName 2. RecordId..3. Name.. based on the 3rd value you can identitfy the name.
If the 3rd value is empty in EntityReference. Then you need to make an extra service call to retrieve the desired data by using the RecordId and entity name.