What is badly written?
The 14th amendment. Especially the second part. If you read the commentary of Senator Howard and Senator Trumbull, you would know the first part is also badly written.
It was originally based on the Civil Rights act of 1866, but then they really screwed up the verbiage. The 1866 act made a lot more sense, but Senator Trumbull learned there was this thing called "temporary allegiance", and so they bollixed the existing language in favor of what it says now.
You have to go to the debates on the 14th amendment to understand what *THEY* thought they were doing with creating the amendment.
The courts of course, don't bother to understand original intent. They just twist whatever interpretation they want out the words.