Modifications on json_from_s3. Still with errors.