@Override
public DirichletState<?> deserialize(JsonElement json, Type typeOfT,
JsonDeserializationContext context) throws JsonParseException {
GsonBuilder builder = new GsonBuilder();
builder.registerTypeAdapter(Vector.class, new JsonVectorAdapter());
builder.registerTypeAdapter(Model.class, new JsonModelAdapter());
builder.registerTypeAdapter(ModelDistribution.class,
new JsonModelDistributionAdapter());
Gson gson = builder.create();
JsonObject obj = json.getAsJsonObject();