Empty props in pages pulled using the CLI fail validation
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3585998. -->
Reported by: [wotnak](https://www.drupal.org/user/3558113)
Related to !946
>>>
<h3 id="overview">Overview</h3>
<p>When pulling pages using the CLI if a component has empty props, they are saved locally in the page json file as an empty array (<code>props: []</code>) instead of an object which fails validation. </p>
<pre>elements.95805f3a-b32e-4d58-b08e-f506579ab18f.props:<br>Invalid input: expected object, received array</pre><h3 id="proposed-resolution">Proposed resolution</h3>
<p>Update the pull command to save empty props as an empty object instead of an array.</p>
<h3 id="ui-changes">User interface changes</h3>
<p>n/a</p>
> Related issue: [Issue #3575874](https://www.drupal.org/node/3575874)
> Related issue: [Issue #3575872](https://www.drupal.org/node/3575872)
issue