[swift-generator] Generate toString() for structs and exceptions