Instead of having tree maps, we should one map to a (pointer to a) struct with the data we need for that key.

    struct {
        filter;
        extension_process;
        in_process_server;
    }