clean up content.xml?

When you work on a document for a long time, make many changes to fonts and revert these, it seems like the content.xml file in the .odt container gets bloated with traces from these old edits. It’s full of old font names, etc.

Is this a problem in the long run? Is there any way to clean up the file?

This question is probably too technical for this place… wher else can I ask it?