Expose LC.shapeToJSON, LC.JSONToShape (fix #92)