switch to json endpoints for timers