If freezing in glass jars be sure to leave a couple cm empty at the top of the jar to allow for the contents to expand on freezing. I also tend to leave the lid on loose until the contents is frozen, then cap tightly. That way you don’t get any cracking of glass.