Cleaning up data chart data endpoint