Fix setting S3 Headers

Fix array key in `setHeader()` and cast headers to object so s3q can
properly decode the JSON.