Fix Header#tuple_keys to skip nested keys of hashes and arrays

We only care about keys in groups and wraps since those will be moved
during processing
Remove obsolete method
Kill mutations in Header