Script to import JSON fails, if numbers are used as sections

Hi,
I experience a problem, when import a json to put some data from my PV-system on my Home Remote Screen.

This is the JSON data, I get from my PV-system:

{
“Body” : {
“Data” : {
“Inverters” : {
“1” : {
“Battery_Mode” : “normal”,
“DT” : 1,
“SOC” : 100.0
}
},
“SecondaryMeters” : {},
“Site” : {
“P_Akku” : 2.436272144317627,
“P_Grid” : -1157.3,
“P_Load” : -722.83024902343755,
“rel_SelfConsumption” : 38.445753925765743
},
“Smartloads” : {
“Ohmpilots” : {}
},
“Version” : “12”
}
},
“Head” : {
“RequestArguments” : {},
“Status” : {
“Code” : 0,
“Reason” : “”,
“UserMessage” : “”
},
“Timestamp” : “2023-03-17T14:30:36+00:00”
}
}

I want to filter for two values:
First: Body → Data → Inverters → 1 → SOC
Second: Body → Data → Site → P_Grid

I use nearly the same command to filter these values, but the first one (SOC) does not work.
This is the command in the HC script:

var http = new HTTPClient();
var p_load = http.get(“http://” + plugin.Settings[“Hostname”] + “:” + plugin.Settings[“Port”] + “/solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=Device&DeviceId=0”);
var data1_raw = p_load.data.Body.Data.Site.P_Grid;
var data2_raw = p_load.data.Body.Data.Inverters.1.SOC;

My feeling is, that the number “1” in the String “p_load.data.Body.Data.Inverters.1.SOC” is the reason for that failure.

Can anyone test such a setup and filter in his environment?
Or am I doing something wrong here?

Hoping for help,
axelf