Cleanup vector-labels example

Only get the `name` value, not all the properties.