Strict map keys and values checker