added format parameter for chart data actions (JSON introduced)