ok try this there are two examples one keeps the array with one element the other makes trailer an object with the contents of element 0
[{"id":"e2ab8eab.f7b168","type":"inject","z":"c791cbc0.84f648","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":130,"y":1640,"wires":[["ba5f712.2be179"]]},{"id":"ba5f712.2be179","type":"template","z":"c791cbc0.84f648","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Vehicles>\n<Vehicle>\n\t<Action>C</Action>\n\t<Owner></Owner>\n\t<VehicleNo>WU64ZDG</VehicleNo>\n\t<ExtVehicleNo>WU64ZDG</ExtVehicleNo>\n\t<VehicleType>2</VehicleType>\n\t<VehicleRegNo>WU64 ZDG</VehicleRegNo>\n\t<Capacity>8600</Capacity>\n\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t<VehicleWeightKg>12000</VehicleWeightKg>\n\t<Scanner>false</Scanner>\n\t<PrinterType></PrinterType>\n\t<TachoMethod></TachoMethod>\n\t<VisiLevel>false</VisiLevel>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>0</Capacity>\n\t\t<SafeFillCapacity>0</SafeFillCapacity>\n\t\t<TrailerWeightKg>0</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>0</CompartmentCt>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>WU64ZDG</TrailerNo>\n\t\t<ExtTrailerNo>WU64ZDG</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>8600</Capacity>\n\t\t<SafeFillCapacity>8600</SafeFillCapacity>\n\t\t<TrailerWeightKg>12000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>4</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>4000</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>2300</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>10</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n</Vehicle>\n<Vehicle>\n\t<Action>C</Action>\n\t<Owner></Owner>\n\t<VehicleNo>KW08BVH</VehicleNo>\n\t<ExtVehicleNo>KW08BVH</ExtVehicleNo>\n\t<VehicleType>2</VehicleType>\n\t<VehicleRegNo>KW08 BVH</VehicleRegNo>\n\t<Capacity>18000</Capacity>\n\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t<VehicleWeightKg>26000</VehicleWeightKg>\n\t<Scanner>false</Scanner>\n\t<PrinterType></PrinterType>\n\t<TachoMethod></TachoMethod>\n\t<VisiLevel>false</VisiLevel>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n\t<Trailer>\n\t\t<TrailerNo>KW08BVH</TrailerNo>\n\t\t<ExtTrailerNo>KW08BVH</ExtTrailerNo>\n\t\t<TrailerType>0</TrailerType>\n\t\t<Capacity>18000</Capacity>\n\t\t<SafeFillCapacity>18000</SafeFillCapacity>\n\t\t<TrailerWeightKg>26000</TrailerWeightKg>\n\t\t<MeterCt>0</MeterCt>\n\t\t<CompartmentCt>5</CompartmentCt>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>1</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>2</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>3</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>4</CompartmentNo>\n\t\t\t<Capacity>2600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Compartment>\n\t\t\t<CompartmentNo>5</CompartmentNo>\n\t\t\t<Capacity>4600</Capacity>\n\t\t\t<MeterNo>1</MeterNo>\n\t\t</Compartment>\n\t\t<Meter>\n\t\t\t<Type>1</Type>\n\t\t\t<No>1</No>\n\t\t\t<AmbientStandard>1</AmbientStandard>\n\t\t</Meter>\n\t</Trailer>\n</Vehicle>\n</Vehicles>","output":"str","x":280,"y":1640,"wires":[["fe0f6ffb.64a86"]]},{"id":"fe0f6ffb.64a86","type":"xml","z":"c791cbc0.84f648","name":"","property":"payload","attr":"","chr":"","x":430,"y":1640,"wires":[["43794c5c.16deec","d0dce288.73d4b"]]},{"id":"43794c5c.16deec","type":"function","z":"c791cbc0.84f648","name":"","func":"for(let i =0; i < msg.payload.Vehicles.Vehicle.length; i++){\n msg.payload.Vehicles.Vehicle[i].Trailer = [msg.payload.Vehicles.Vehicle[i].Trailer[0]];\n\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":470,"y":1720,"wires":[["5a51d9af.261228"]]},{"id":"d0dce288.73d4b","type":"function","z":"c791cbc0.84f648","name":"","func":"for(let i =0; i < msg.payload.Vehicles.Vehicle.length; i++){\n msg.payload.Vehicles.Vehicle[i].Trailer = msg.payload.Vehicles.Vehicle[i].Trailer[0];\n\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":470,"y":1540,"wires":[["49172bf5.bf62c4"]]},{"id":"5a51d9af.261228","type":"debug","z":"c791cbc0.84f648","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":670,"y":1720,"wires":[]},{"id":"49172bf5.bf62c4","type":"debug","z":"c791cbc0.84f648","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":660,"y":1540,"wires":[]}]
for(let i =0; i < msg.payload.Vehicles.Vehicle.length; i++){
msg.payload.Vehicles.Vehicle[i].Trailer = msg.payload.Vehicles.Vehicle[i].Trailer[0];
}
return msg;