convert AWS's CopyObjectResult to a map.