Fixed GeneratingJson to handle concept groups.