title: POST a request with NO JSON inside a JSON in SpringBoot
body: <p>I'm using spring-boot with JPA. I want to get rid of the redundant JSON. What is the correct approach?</p>
  
  <p>HAVE <em>(default)</em>:</p>
  
  <pre><code>{
      "latitude":20.0,
      "longitude":20.0,
      "picturesURLs": [
          "google.com",
          "unaimagen.com"
          ],
      "animal":{
          "id": 1
      },
      "usuario": {
          "id": 1
      },
      "longitudAnimal": "123.345"
  }
  </code></pre>
  
  <p>WANT:</p>
  
  <pre><code>{
      "latitude":20.0,
      "longitude":20.0,
      "picturesURLs": [
          "google.com",
          "unaimagen.com"
          ],
      "animal": 1,
      "usuario": 1,
      "longitudAnimal": "123.345"
  }
  </code></pre>