improve/fix toString() for better debugging
Authored by: mrieser 2013-02-21
Parent: [r23156]
Child: [r23158]