Implemented persistent data saving as JSONArray of appointments