const rawValue = payload.find(item => item.variable === 'payload');
if (rawValue) {
const valuesString = rawValue.value;
const splitValues = valuesString.split('');
const part1 = splitValues[0];
const part2 = splitValues[1];
const part3 = splitValues[2];
const part4 = splitValues[3];
payload.push({"variable" : "status1", "value" : part1});
payload.push({"variable" : "status2", "value" : part2});
payload.push({"variable" : "status3", "value" : part3});
payload.push({"variable" : "status4", "value" : part4});