Remove denormalization
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3584184. -->
Reported by: [majorrobot](https://www.drupal.org/user/168019)
Related to !35
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>In recent meetings, we have decided to move away from denormalizing AI responses in our module (by using Schemata and custom denormalizers). Instead, we'll put the onus on developers to use the process phase of the migration to target the data they want within the raw AI response structure.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<ul>
<li>Remove module code that denormalizes AI responses.</li>
<li>Remove custom denormalizer class(es).</li>
<li>Ensure that the structure passed out of the source plugin retains the structure returned from the LLM.</li>
<li>Update/add process plugins in example migrations so that nodes are still created correctly.</li>
<li>Update tests as needed.</li>
</ul>
issue