Fix attempted string cast of classes that cannot be cast to string
Merge pull request #1 from rmasters/fix/string-cast-objects

Fix attempted string cast of classes that cannot be cast to string