LuaValue dbgToJSON(LuaValue[] arg) { if (arg.Length > 0) { return(new LuaString(JSONReflector.ObjectToJSON(arg[0].Value))); } return(LuaNil.Nil); }