how about not writing the tags if cov['projs'] == [] and same for bads?
make sure it interpreted as [] when reading.