Updated model for an easier data processing
Exposed API to deliver chart.js compatible data