Never assume? This works for any string after the = until you hit white space, end of line, comma or semicolon, like ="${boo#*xyz}":
sed 's/=[^ \t,;]*/=0/g'
We often assume from small data samples provided here, which is a real bad habit in the real world. In the real world, it is good to do some data checking with as big a data set as possible.
Of course, the requirements are just as terse! That is where active listening comes in!