String className = jsonObj.get("classname").getAsString();
Map<String, String> configs = context.deserialize(jsonObj.get("configs"),
new TypeToken<Map<String, String>>() {
}.getType());
return new DefaultEventHandlerSpecification(className, configs);
}