public Dictionary<string, List<MessageSubscription>> GetAllSubscriptions() { return _messagesToEndpoints.ToDictionary(x => x.Key, x => x.Value); }