send json rather than counters