Return the serializable of this object into Map.
Map<String, dynamic> toJson() => _$ConnectedPeersToJson(this);