implement delete, update, list on json rest interface