Implemented generator of swift code

Rename dumpWithError to dump. As well as other "..withError" methods.