JSONize: A Scalable Machine Learning Pipeline to Model Medical Notes as Semi-structured Documents