var data = JSON.parse(value);
var out = [];

data.StreamingChannelList.StreamingChannel.forEach(function (field) {
    out.push({
        "{#CHANNEL_ID}": field.id,
        "{#CHANNEL_NAME}": field.channelName,
        "{#CHANNEL_ENABLED}": field.enabled
    });
})

return JSON.stringify(out);