Fixing useragent string to use lowercase keys