new format (python dict) for stats