modified Object to check for label if none exists it will return id