If ```cdict``` is ```None```, then the function returns ```{}```. It is ok?