export function flatten<T = string>(object: PlainObject, excludeKeys: string[] = []): PlainObjectOf<T> {
    const depthGraph: PlainObjectOf<T> = {};

    for (const key in object) {
        if (object.hasOwnProperty(key) && !excludeKeys.includes(key)) {