title: Spring boot Controller json response has a field name "empty"
body: <p>I have a GET endpoint in my application supposed to return :</p>
  <pre><code>{
    &quot;gameId&quot;: &quot;41a483c4-6220-424a-a931-d9114a4f6748&quot;,
    &quot;pits&quot;: [
      {
        &quot;id&quot;: 1,
        &quot;stones&quot;: 6
      },
      {
        &quot;id&quot;: 2,
        &quot;stones&quot;: 6
      },
      {
        &quot;id&quot;: 3,
        &quot;stones&quot;: 6
      },
      {
        &quot;id&quot;: 4,
        &quot;stones&quot;: 6
      },
      {
        &quot;id&quot;: 5,
        &quot;stones&quot;: 6
      },
      {
        &quot;id&quot;: 6,
        &quot;stones&quot;: 6
      },
      {
        &quot;id&quot;: 7,
        &quot;stones&quot;: 0
      },
      {
        &quot;id&quot;: 8,
        &quot;stones&quot;: 6
      },
      {
        &quot;id&quot;: 9,
        &quot;stones&quot;: 6
      },
      {
        &quot;id&quot;: 10,
        &quot;stones&quot;: 6
      },
      {
        &quot;id&quot;: 11,
        &quot;stones&quot;: 6
      },
      {
        &quot;id&quot;: 12,
        &quot;stones&quot;: 6
      },
      {
        &quot;id&quot;: 13,
        &quot;stones&quot;: 6
      },
      {
        &quot;id&quot;: 14,
        &quot;stones&quot;: 0
      }
    ],
    &quot;playerTurn&quot;: null,
    &quot;currentPitIndex&quot;: 0
  }
  </code></pre>
  <p>but instead it returns:</p>
  <pre><code>{
      &quot;id&quot;: &quot;25f09303-b797-418f-a7e7-db0e5fa8631b&quot;,
      &quot;pits&quot;: [
          {
              &quot;stones&quot;: 6,
              &quot;empty&quot;: false
          },
          {
              &quot;stones&quot;: 6,
              &quot;empty&quot;: false
          },
          {
              &quot;stones&quot;: 6,
              &quot;empty&quot;: false
          },
          {
              &quot;stones&quot;: 6,
              &quot;empty&quot;: false
          },
          {
              &quot;stones&quot;: 6,
              &quot;empty&quot;: false
          },
          {
              &quot;stones&quot;: 6,
              &quot;empty&quot;: false
          },
          {
              &quot;stones&quot;: 0,
              &quot;empty&quot;: true
          },
          {
              &quot;stones&quot;: 6,
              &quot;empty&quot;: false
          },
          {
              &quot;stones&quot;: 6,
              &quot;empty&quot;: false
          },
          {
              &quot;stones&quot;: 6,
              &quot;empty&quot;: false
          },
          {
              &quot;stones&quot;: 6,
              &quot;empty&quot;: false
          },
          {
              &quot;stones&quot;: 6,
              &quot;empty&quot;: false
          },
          {
              &quot;stones&quot;: 6,
              &quot;empty&quot;: false
          },
          {
              &quot;stones&quot;: 0,
              &quot;empty&quot;: true
          }
      ],
      &quot;playerTurn&quot;: null,
      &quot;currentPitIndex&quot;: null
  }
  </code></pre>
  <p>I am wondering what is &quot;empty&quot;?! and where is &quot;id&quot;!</p>
  <p>would be much appreciated for any suggestion and help.
  thank you</p>