public JsonElement serialize(
     ActionType actionType, Type typeOfT, JsonSerializationContext context) {
   return new JsonPrimitive(actionType.getLabel());
 }
 public ActionType deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)
     throws JsonParseException {
   return ActionType.findByLabel(json.getAsString());
 }