fix packing of date objects in hashmaps