json api server solution