trying to serialize and deserialize moduleast