title: Spring Data Rest supporting json and xml
body: <p>Is it possible to have spring data rest repositories supporting both json and xml at the same time? 
  I was hoping that something like that would work (but it doesn't unfortunately):</p>
  
  <pre><code>@RequestMapping(produces = { "application/json", "application/xml" })
  @RepositoryRestResource
  </code></pre>