Update sample REST app to work with latest python client