string type check based on #to_str to encourage duck typing; #1616