C-dictionary from scala