tied className into toJSON and create.  deprecated shapeType property and getShapeType method