code: private String[] arrayMap(JsonObject node, int n) {
      String[] res = new String[n];
      for (int i = 0; i < n; i++) {
        res[i] = node.get(Integer.toString(i + 1)).getAsString();
      }
      return res;
    }
docs: Converts a CLDR (1-based index, associative) array to a String array.