Fixed camelCase names in diagnostics

Fixes #1439

This should at least work fine when #1429 is in :smile:

Both should be a part of 0.22.1 IMO.