Fixing dict key casing