toJson support for EClassifier