Fixed the reporting of the model to output JSON. Augmented the README.