change name of class variable. Also, change String to Object key.

http://osc.matsukei.net/issues/422 fixes #422