Snake case handles names like UserID and APIKey
- What was broken
- Turning names like UserID or APIKey into snake_case left the capital letters as they were, giving userID or API_key.
- What I changed
- It now splits and lower-cases acronyms, so the results are user_id and api_key.
- Why it matters
- Database columns, JSON fields and settings names come out the way people expect.