bug fixes in client rest api; minor updates to python client