Read and write JSON to Amazon S3