@JsonCreator
    public static ModelId of(String id) {
        Preconditions.checkArgument(StringUtils.isNotBlank(id), "ID must not be blank");
        return new AutoValue_ModelId(id);
    }
@Test
    public void serialize() throws IOException {
        final ModelId modelId = objectMapper.readValue("\"foobar\"", ModelId.class);
        assertThat(modelId).isEqualTo(ModelId.of("foobar"));
    }