Avoid writing metadata on S3 if there is no actual change to the values.