export_arff updated to handle nominal values