API: Change the name of the functions
ENH: Cast from defaultdict to dict
ENH/BUG: Change datetime objects to strings
TST: Add corresponding tests for util.py