Change path list type that is dictionary