convert casks to new format