changes json api to jerkson