scope location mixed up

scope location mixed up

Hi there,

I have an analysis trigger by an Action is an value is achieved

if I print the SCOPE[0] it is obtain
context.log(scope[0]);

{ id: 'xxxxx', created_at: '2022-02-12T11:03:27.888Z', time: '2022-02-12T11:03:27.888Z', bucket: 'yyyy', variable: 'temperature', origin: 'zzzz', unit: 'C', serie: '1644663807887', location: { type: 'Point', coordinates: [ 20, 40 ] }, value: 11.37 }



This is the parser value:
{ "variable": "temperature", "value": 11.37, "serie": 1644663807887, "location": { "lat": 40, "lng": 20 }, "unit": "C" },


I would expect the first to be latitude, the second longitude, but it's backwards. I messed something on scope retrival?