You could also just do:
```return entities.iterator().next().toString();```