Decode S3 value manually instead of using new boto feature.