Get HighlightedString from a Nested Attribute

Hello everyone, I hope you are having a great week. How do I get a nested attribute as a highlighted string object in the Android library?

Here is my data structure:

This function which I got from the docs in returning null.

getHighlight(Attribute("category.categoryName"))

Thanks!