Pick up placed refrigerators from your map.
Change the line:
local container = util.table.deepcopy(data.raw["logistic-container"]["buffer-chest"])
Place refrigerators down (code links entities to new storages when placed).
Just tested this, worked for me.
But beware if you change this and don't pick up refrigerators, then the old storage entity will turn unremoveable.