title: JAX-RS (Jersey) and Jackson does not serialize LocalDate correctly
body: <p>We recently upgraded to Spring Boot <code>2.0</code>, and with that, JAX-RS at <code>2.1</code> and Jackson at <code>2.26</code>.</p>
  
  <p>The issue now is that the Java object I'm trying to (serialize and) send via <code>POST</code> has a field of type <code>java.time.LocalDate</code> and it's not getting serialized (into JSON) correctly. This is the result after the updates:</p>
  
  <pre><code>...
  "birthDate": {
    "year": 1991,
    "month": "JANUARY",
    "chronology": {
      "id": "ISO",
      "calendarType": "iso8601"
    },
    "monthValue": 1,
    "dayOfMonth": 1,
    "dayOfWeek": "TUESDAY",
    "era": "CE",
    "dayOfYear": 1,
    "leapYear": false
  },
  ...
  </code></pre>
  
  <p>...instead, <code>birthDate</code> should be sent like <code>"birthDate": "1991-01-01"</code> — as it was before.</p>
  
  <p>The client is configured as:</p>
  
  <pre><code>final ObjectMapper mapper = new ObjectMapper();
  mapper.registerModule(new JavaTimeModule());
  mapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
  final JacksonJsonProvider provider = new JacksonJsonProvider();
  provider.setMapper(mapper);
  return ClientBuilder.newClient(new ClientConfig(provider))
      .target("http://hostname/api/some-path")
      .path("");
  </code></pre>
  
  <p>I also tried annotating the <code>birthDate</code> filed with <code>@JsonFormat(pattern = "yyyy-MM-dd")</code>.</p>