Adding simple str() method to generated structs
Fixing a couple of bugs with the string type