private ChromelyResponse GetDefinitions(ChromelyRequest request) { DefinitionService definitionService = DefinitionService.getInstance(); Dictionary <string, List <Definition> > definitions = definitionService.LoadDefinitions(); string definitionsJson = JsonConvert.SerializeObject(definitions); ChromelyResponse response = new ChromelyResponse(); response.Data = definitionsJson; return(response); }