public async Task <string> Convert(string decklist) { if (decklist == null) { return(null); } Deck deck = await _deckProcessor.CreateDeck(decklist); return(JsonConvert.SerializeObject(deck, Formatting.Indented, new JsonSerializerSettings { ContractResolver = new CamelCasePropertyNamesContractResolver() })); }