Fixes Issue 5065 - Format specifier must be %s for types which don't implement toString with a format specifier.
Merge pull request #1079 from AndrejMitrovic/Fix5065

Issue 5065 - Format specifier must be '%s' for some types