private static Command Deserialize(string command) { return CqrsApplication.GetService<IDeserializer>().CreateCommand(JObject.Parse(command)); }