Better key transformation for package settings and config