Fix object to string conversion.