function processMembersData(members, tiersMap, labelsMap, stripeCustomerMap, subscribedSet, allProducts, allLabels) {
    for (const row of members) {
        const tierIds = tiersMap.get(row.id) ? tiersMap.get(row.id).split(',') : [];
        const tierDetails = tierIds.map((id) => {
            return {
                name: allProducts[id]
            };
        });
        row.tiers = tierDetails;

        const labelIds = labelsMap.get(row.id) ? labelsMap.get(row.id).split(',') : [];
        const labelDetails = labelIds.map((id) => {
            return {
                name: allLabels[id]
            };
        });
        row.labels = labelDetails;

        row.subscribed = subscribedSet.has(row.id);
        row.comped = row.status === 'comped';
        row.complimentary_plan = row.status === 'complimentary';
        row.stripe_customer_id = stripeCustomerMap.get(row.id) || null;
        row.created_at = moment(row.created_at).toISOString();
    }
    return members;
}
Process a batch of members with all their related data
@param {Array} members - Array of member records
@param {Object} tiersMap - Map of member_id to tiers
@param {Object} labelsMap - Map of member_id to labels
@param {Object} stripeCustomerMap - Map of member_id to stripe customer IDs
@param {Set} subscribedSet - Set of subscribed member IDs
@param {Object} allProducts - Map of product IDs to product names
@param {Object} allLabels - Map of label IDs to label names
@returns {Array} Processed member records