title: Jackson change timestamp format
body: <p>I'm outputting some database results via <code>json</code> webservice. Simple as:</p>
  
  <pre><code>@GetMapping(produces = "application/json")
  public List&lt;Map&lt;String, Object&gt;&gt; get(Param params) {
      return jdbcTemplate.queryForList(sql, params)
  }
  </code></pre>
  
  <p>Problem: <code>java.sql.Timestamp</code> is converted to format <code>2018-04-26T07:52:02.000+0000</code>, while the plain database output would be <code>2018-04-26 07:52:02.0</code>.</p>
  
  <p>Question: is there any configuration property to tell spring to just pass through the native timestamp received from the database, instead of converting it with <code>jackson</code> logic?</p>
  
  <p>I want to change the <code>java.sql.Timestamp</code> format <strong>globally</strong>.</p>
  
  <p><strong>Important</strong>: please don't suggest any annotations! I don't have any bean/pojo, I'm just returning the plain database result as a <code>Map</code>.</p>