Support map configurations for KeyGenerators

Support parameterized key generators in the same way as currently done for ValueGenerators