Convert cpp.c to use Map instead of Dict.