Fixed broken class-to-string converter