respecting json file types from s3