jim.c: replace 'dict merge' with a C version