Changed attribute encoding to JSON (ASCII) for better S3 user metadata compatibility.