Transforms deeply nested object, array, Map, and Set keys between common case formats while preserving TypeScript type safety