set the labels to the object properties rather than the id ones