Sending data from opensearch alerts to API

2.9 (relevant - OpenSearch/Dashboard/Server OS/Browser):

Trying to send data when alert trigger by webhook but payload send to my api in
{hits=[{_index=sre_qa, _source={nic_error_code=1017, _endpoint=/push, load_id=2285, http_status_code=200, process_ts=0:00:09.795939, _response.status_code=732, _response.status_message= Authentication Passed, IRN Receive(Y), EWB Receive(N), IRN Schema Validation Passed, Business Validation Passed, IRN Generation Failed, auth_mode=NIC, source=, business_validations._error_message=, _response.status=Generation Failed, nic_env=Sandbox, gstin=09ABACS8976M1ZE, business_validations._error_code=0, nic_error_message=Incorrect user id/User does not exists, output_ts=2023-11-09T13:18:52.000+0530, nic_process_time=295.76, nic_gen_mode=irp1, nic_endpoint=/gus/irp/nic/eicore/v1.03/Invoice, input_ts=2023-11-09T13:18:42.000+0530, error_status=NIC Errors, id=push-1699516122.598495-1314509ABACS8976M1ZE2023-24DBNND2311720003, customer_id=238, udid=09ABACS8976M1ZE2023-24DBNND2311720003}, _id=push-1699516122.598495-1314509ABACS8976M1ZE2023-24DBNND2311720003, _score=0.0}], total={value=49, relation=eq}, max_score=0.0}

This format. I want to sent it in object format to analyise my payload. Kindly suggest.

Currently set my alarm data format:-

Need suggetions

using this to get _source filed

{{ctx.results[0].hits.hits.0._source}}