code: public int renderNodes(final StringBuilder stringBuilder,
                             final List<Node> nodes,
                             final int index,
                             final List<String> mustacheKeys,
                             final Map<Integer, Node> cachedNodes) {
          int newIndex = index;
  
          final Iterator<Node> iterator = nodes.iterator();
  
          while (iterator.hasNext()) {
              final Node node = iterator.next();
              newIndex = this.renderNode(stringBuilder, mustacheKeys, cachedNodes, newIndex, node, true);
  
              if (iterator.hasNext()) {
                  stringBuilder.append(",");
              }
          }
  
          return newIndex;
      }
docs: Renders a list of entities required by trivial components tree.
  
  @param nodes         a list of nodes that should be rendered
  @param index         index of corresponding node (should match cachedNodes
  @param mustacheKeys  optional mustache keys
  @param cachedNodes   a map of node number to node
  @param stringBuilder the builder
  @return the last rendered index + 1