made come getter methods into properties. Added basic json output for highcharts