title: Machine Learning with JSON Dataset
body: <p>I have a collection of JSON documents with labels. I want to train a classifier taking into account the k/v pairs of each JSON doc. Many of the values are not numerical, but rather a string.  </p>
  
  <p>Is there a way to process the k/v pairs directly in their native formate rather than converting all the values into a matching integer through a data pipeline?</p>
  
  <p>My goal is to eventually be able to take the native JSON response from an application's API and to use the trained classifier to identify what kind of document it is.</p>
  
  <p>Bag of words doesn't really work in this approach because the majority of the words are going to be identical between records.</p>