Implementing the objects to generate the JSON required for making
amCharts