wrap keys in quotes to handle dotted key names.