fixed strokes, add JSON format