Add serialization methods to ConnectionsModel