maybe you have to need to use populate to get username instead of objectID in getData fn. try to populate "owner" and "username" in fetch in getdata and then maybe you can access {owner?.username}