Change type for color
Fixed serealization deserialization for color
Web: use enum name as string not int