classifcation array formatter