How to reduce the amount of text in a XCUIElementTypeOther 'name' attribute

I have a React Native application that has an extremely polluted App Source when viewed via the inspector.

Every piece of text in all the child elements is being added to the name attribute of the parent XCUIElementTypeOther elements

This makes it almost impossible to navigate the tree.

There is nothing in the code that looks to be causing this. The text in the name attribute is made up of labels, titles and raw text pasted into a component.

Is there anyway, even if it requires modification to the code to reduce this noise shown in the App Source?

Many thanks,