turn a linearized svg into an array of arrays of [x,y] pairs