generateGlue: fix a problem with deserializing enum parameters
fixes #13
Merge branch 'master' of https://github.com/SolidCharity/OpenPetraPatchJSClient