[swift-generator] Plain JDK implementation of toString() for thrift structs