Fixes Issue 5065 - Format specifier must be %s for types which don't implement toString with a format specifier.