Ensure __toString() always returns a string