Convert to str() whenever possible to avoid TypeErrors