added persistence support patch from github.com/rest-client/rest-client/...