Fix the toJSON plugin to work with revised Color class.
Fix the toJSON plugin to work with revised Color class.

GraylinKim/sc2reader,vlaufer/sc2reader,GraylinKim/sc2reader,StoicLoofah/sc2reader,vlaufer/sc2reader,StoicLoofah/sc2reader,ggtracker/sc2reader,ggtracker/sc2reader