If streaming, then the stack is "sticky"

@param {Array} stickyStack
@param {string} token
@param {*} data
@returns {Array}
function updateStickyStack(stickyStack, token, data) {
    if (token !== 'text') {
        stickyStack = stickyStack.filter(notCategory(categoryForCode(data)));
        stickyStack.push({token: token, data: data, category: categoryForCode(data)});
    }

    return stickyStack;
}