Implemented serialization into the hashtable, useful for large data sets