Fix Bug 966871, update addons stats code for new data format but keep backwards compatible code

@lauraxt r?