JSON.stringify data on activity stop