Only numbers and strings can be map keys, fixed #411.