Clean translations to remove nil values before exporting