refactor: JSONObjectRet and doc