Fix SWIG version bug, add allRefsFields and allSubDocs on resultUi at grao-generate