useful __str__ method for resources