added method to camelify a dict