Need to update with new iteration. JSON to folding pieces enclosure function and velocity