Hi, I need get two specific keys along with its value from a set of data to another set of data in php

from this set of arrays:
{
“data”: [
{
“lng”: -90.0333333333333,
“observation”: “KATP 050920Z AUTO 12021KT 10SM SCT020 SCT025 SCT032 26/22 A2989 RMK A01”,
“ICAO”: “KATP”,
“clouds”: “scattered clouds”,
“dewPoint”: “22”,
“cloudsCode”: “SCT”,
“datetime”: “2024-05-05 09:20:00”,
“temperature”: “26”,
“humidity”: 78,
“stationName”: “ATLANTIS OILP”,
“weatherCondition”: “n/a”,
“windDirection”: 120,
“windSpeed”: “21”,
“lat”: 27.2
},
{
“lng”: -91.9833333333333,
“weatherConditionCode”: “BR”,
“observation”: “KGHB 050920Z AUTO 5SM BR FEW020 FEW026 25/23 A2988 RMK A01”,
“ICAO”: “KGHB”,
“clouds”: “few clouds”,
“dewPoint”: “23”,
“cloudsCode”: “FEW”,
“datetime”: “2024-05-05 09:20:00”,
“temperature”: “25”,
“humidity”: 88,
“stationName”: “GARDEN BANKS172”,
“weatherCondition”: “mist”,
“lat”: 27.8333333333333
},
{
“lng”: -91.9833333333333,
“weatherConditionCode”: “BR”,
“observation”: “KGHB 050920Z AUTO 5SM BR FEW020 FEW026 25/23 A2988 RMK A01”,
“ICAO”: “KGHB”,
“clouds”: “few clouds”,
“dewPoint”: “23”,
“cloudsCode”: “FEW”,
“datetime”: “2024-05-05 09:20:00”,
“temperature”: “25”,
“humidity”: 88,
“stationName”: “GARDEN BANKS172”,
“weatherCondition”: “mist”,
“lat”: 27.8333333333333

{...

}

$latitude = [];
foreach ($decoded as $key => $value) {
for ($i = 0; $i < count($value); $i++) {
$longitude[$i] = $value[$i][“lng”];
}
and simple tried to repeat for lat, but it gives me both arrays separated with no specific keys!

{
array {-90.0333333333333, -91.9833333333333, -91.9833333333333}
}
{
array {27.2, 27.8333333333333, 27.8333333333333}
}

I want my result like:
{“lng”: -90.0333333333333,”lat”: 27.2}
{“lng”: -91.9833333333333,”lat”: 27.8333333333333}
{“lng”: -91.9833333333333,”lat”: 27.8333333333333}