It seemed unfortunate to have redundant information in both attributes and encodings, but you're right I assumed encodings was being copied first.