simply cache RESTclient contents to sharedPreferences