json api messages and stat data