import/export with custom dict_home