Move .gitattributes files to repo root
Fix a bug when inspecting records nested in tuples