partly fixed issue #49: implemented support for enums in named results
Merge branch 'v0.12.x_bugfix'