RUT241 Data to server -> json Format date to ISO 8601

Hello all,

We use a RUT241 and successfully read from o modbus server some values.Then from Data to server a valid json is created and sent over MQTT. We would like to change the date format that is written in the json
from: date: “27/03/2024 23:48:20”
to: date: “2024-03-27T23:48:20”

i.e. according to the ISO 8601 format. Is this doable? Is there perhaps a package from package manager that can act as an intermediary for the json before it is sent to the MQTT?

Thank you in advance.