title: TRESTResponseDataSetAdapter adds a row to the dataset if JSON-array is empty
body: <p>If I have a <code>TRESTResponseDataSetAdapter</code> with <code>RootElement = 'testdata'</code> and provide it with the following JSON, it adds a row to the connected dataset.</p>
  <pre><code>   RESTResponseDataSetAdapter1.ResponseJSON := TRESTResponseJSON.Create(
        Form1,
        TJSONObject.ParseJSONValue('{&quot;testdata&quot;:[]}'),
        true
     );
  
  </code></pre>
  <p>If I provide some data in the array, I get the expected rows in the dataset, but if the array is empty I get a row with what appears to be all null values.</p>
  <p>It seems that the only way to get an empty dataset is to provide something invalid, like <code>{&quot;testdata&quot;:[,]}</code> for example. That gives me an empty dataset without generating any errors.</p>
  <p>Is this the expected behaviour? If not, what could be the issue here? I've tried changing the <code>TypesMode</code> but I get the same result no matter which setting it is.</p>
  <p>The dataset I'm using is a <code>TdxMemData</code> from <code>DevExpress</code>. I recently upgraded from Delphi 10.2 to Delphi 10.4. Things were working fine on 10.2 (i.e. if the JSON array was empty, the dataset would also be empty), so it seems that something has changed in 10.3 or 10.4.</p>