adding time slicing to all stats endpoints (lazily)