now `to_str` method can handle `str` type.