export sklearn classifiers to json for storing