Correctly marshall request attributes and metadata when puting a object with AWS-S3