Re-throw enum exception as JsonParseException to yield a proper error

Fixes #317