Serializing the color info along with the bezier path.