var lookup = {},
    result = [];

JSON.parse(value).forEach(function (item) {
    var request_kind = item.labels.request_kind;
    if (!(lookup[request_kind])) {
        lookup[request_kind] = 1;
        result.push({ '{#KIND}': request_kind });
    }
});
return JSON.stringify(result);