Override toString() method for entities