Remove extra fields from formats
More unsafe string handling