Made to emit a JSON array

The JSON array can be used with brain.js to improve classification
techniques.