added "all stats for timestamp", and changed the stats API to return that. with tests.