$stats association changed to id => data (which should have been done like this in the first place...)

Signed-off-by: Patrick Dinklage <Patrick.Dinklage@materna.de>