ChoicesDict: implement .fromstring constructor