Use dict:dict() type to make it compatible with Erlang-17