datapath_connection_factory deal with None datapath.id
StringifyMixin: heuristics to support dict