add toString() methods to facilitate debugging.
Authored by: mrieser 2013-01-24
Parent: [r22750]
Child: [r22752]