Strange Behavior with Key value pairs

Apologies if I'm missing something but I think the part that I touched on last is the key here, if this is the form component. The form expects a single object as the data source, so passing it the entire formatDataAsArray(getData.data) object won't map to your components correctly.

If you use formatDataAsArray(getData.data)[0] and set your component form keys correctly everything should work like magic. If the source data for the component isn't an array to start with you won't have to mess with flattening anything during the query.