Help with formatting from Chat GPT - to TTS

Hi

I have been banging my head on the table for a week with this one, but it is so simple.

I have GPT implemented and it outputs a the text I want. BUT I cannot make TTS or any other service write/output/read the output text from the node.

Here is a cutout of the node which I cannot make work. Can anyone help me see what is wrong? My best guess is that there is something in the output formatting of the GPT node?

[{"id":"d7d9bd6b3e03f9a2","type":"api-call-service","z":"711a025916b23950","name":"","server":"2f469d31.dfdb72","version":5,"debugenabled":false,"domain":"tts","service":"cloud_say","areaId":[],"deviceId":[],"entityId":["media_player.play_5_2","media_player.kitchen_sonos"],"data":"{\"message\":\"{{ai_response.speech}}\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":2830,"y":1560,"wires":[[]]},{"id":"24c28581360fbc52","type":"function","z":"711a025916b23950","name":"Config","func":"msg.ai_response = msg.payload.response.response.speech.plain;\n\nreturn msg;\n\n\n","outputs":1,"timeout":"","noerr":0,"initialize":"","finalize":"","libs":[],"x":2670,"y":1560,"wires":[["d7d9bd6b3e03f9a2"]]},{"id":"ed2e343da6d46f2b","type":"ha-api","z":"711a025916b23950","name":"","server":"33eb04e9.d2815c","version":1,"debugenabled":false,"protocol":"websocket","method":"get","path":"","data":"{\"type\":\"execute_script\",\"sequence\":[{\"service\":\"conversation.process\",\"data\":{\"agent_id\":\"AGENT ID \",\"text\":\"{{new}}. The time is {{time}}. Today is a {{day}}. The weather outside is {{weather}}. Thomas is currently in {{thomas}}. Pegasus is {{pegasus}}. Discovery is {{discovery}}. Do it in less than 50 words.\"},\"response_variable\":\"service_result\"},{\"stop\":\"done\",\"response_variable\":\"service_result\"}]}","dataType":"json","responseType":"json","outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"results"}],"x":2530,"y":1560,"wires":[["24c28581360fbc52"]]},{"id":"fdc6e1bb35e6fa7c","type":"inject","z":"711a025916b23950","name":"","props":[{"p":"new","v":"Write a short poem","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":2410,"y":1560,"wires":[["ed2e343da6d46f2b"]]},{"id":"2f469d31.dfdb72","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":false,"cacheJson":true,"heartbeat":true,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true},{"id":"33eb04e9.d2815c","type":"server","name":"Home Assistant (Eoin)","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]

Agent ID is removed, but is working on my setup. Here is a snapshot from the debug node too:

{"_msgid":"1e3ea4fa48767b99","new":"Write a short poem","payload":{"context":{"id":"01HB48J57G6B0D6SQ83JNMK8R2","parent_id":null,"user_id":"a9256792879449eeb274e513c252bbef"},"response":{"response":{"speech":{"plain":{"speech":"In the hush of twilight's gleam,\nToday is a tapestry of dreams.\nThe weather outside, a gentle caress,\nThomas in his den, a mind at rest.\nPegasus soars, freedom unfurled,\nDiscovery awaits, a boundless world.","extra_data":null}},"card":{},"language":"en","response_type":"action_done","data":{"targets":[],"success":[],"failed":[]}},"conversation_id":"01HB48J57HCJMDE51R3XZRM48Z"}},"ai_response":{"speech":"In the hush of twilight's gleam,\nToday is a tapestry of dreams.\nThe weather outside, a gentle caress,\nThomas in his den, a mind at rest.\nPegasus soars, freedom unfurled,\nDiscovery awaits, a boundless world.","extra_data":null}}