Adding json statistics