Remove all whitespace from case and doc fields.