I think we need to take a step back and understand what you're trying to do.
I assume you want to create a mapping between "myText" and an array of other objects.
In order to do this, you simply need to call Gson.toJson(map) where map holds key myText and value as List or array. In other words:
Map> mapJson = new LinkedHashMap>();
mapJson.put("myText", getList(id));
String outputJson = Gson.toJson(mapJson);
If this isn't what you're looking for, I implore you to explain your objective so that we may help you do it in the way that Gson supports rather than the way you want to do it.