Cloud sample updated, stores string, JSONArray, and JSONObject