modifications on json from s3