Combine two arrays based on line number

Do you get that in one MQTT message?

Is there no way in tasker to send as JSON or other known format (anything but plain text)

My point is, the transmission format is not great for automation or ingestion by other systems - I would be surprised if you can transmit from tasker in a friendly format where there is zero requirement to split, trim, loop & join a whole bunch of data.