I want to use template function to dump data into file, here is my code:
template // T can be `std::unordered_map