for(ScriptEngineFactory sef : scriptEngineManager.getEngineFactories()){
jw.object();
if(sef.getExtensions().isEmpty()){
continue;
}
jw.key("langName").value(sef.getLanguageName());
jw.key("langCode").value(sef.getExtensions().get(0));
//Language mode as per CodeMirror names
String mode = determineMode(sef.getExtensions());
if(mode != null){