added initial statistics json api