added serialization methods to the MetaRepository