Make linear models serialize based on feature names.