In case we have an ArrayProperty that is a list of objects and not just strings. If the object has a name property, that is displayed. Otherwise it just displays the object itself (like if it's a string or number).