[#436] Enum values with JsonValue are not supported

fixes #436