Export classifiers to JSON