changed the UIBezierPath serialization to make it a tad more compact