various task on json api