Added serialization and deserialization functions to the PyTrie object class.: