A PHP endpoint to process and serve highcharts as images