standardized counters and json output format