return stats as hash