Add serialization for Ivy ModuleId