added decoder to json api