Server Side created array to Stripe Checkout

Hi,

On a server side action a LineItems array is created and populated with list items within a repeat querying product data from the database.
Example output:
image

Now I want to use that array as an input array for a Stripe Checkout Session.
So on my checkout page’s Stripe component I use this value for the LineItems attribute:
image

However, on Checkout submit I get this error:
error: "No such price: '[object Object],[object Object]'"

So to test the contents of the LineItems array after passing it to the Checkout server connect action I added a Set Value step to output in the checkout form server action:


And this is the output:
image

Somehow the array is transformed clearly. How can I pass this array to the checkout server action properly?