Added serialisation and deserialisation to FeatureHashtable.