add unit test for non string/numeric map keys
fix fallout from invalid map key type error