I'm guessing now but just like jams can foam when cooked, maybe some juice foams when canned. I noticed some of my berry juices seemed to spill some into my pressure cooker judging from the color of the water. I never think to put a dab of butter in the jars to help prevent foaming, I'm guessing it might work. As far as other shrinkage, if you cold pack some vegetables they shrink when cooked like tomatoes and summer squash for instance. That is why I hot pack tomatoes and the summer squash doesn't shrink that much that I'm concerned.