export function contextStringAssertion(key: string, value: any): asserts value is string {
    if (typeof value !== 'string') {
        throw new Error(`Invalid context - ${key} must be a string`);
    }
}