clean classifications, json output