code: public Object call(Iterable coll, Closure c) {
          return jsonBuilder.call(coll, c);
      }
docs: A collection and closure passed to a YAML builder will create a root YAML array applying
  the closure to each object in the collection
  <p>
  Example:
  <pre><code class="groovyTestCase">
  class Author {
  String name
  }
  def authors = [new Author (name: "Guillaume"), new Author (name: "Jochen"), new Author (name: "Paul")]
  
  def yaml = new groovy.yaml.YamlBuilder()
  yaml authors, { Author author {@code ->}
  name author.name
  }
  
  assert yaml.toString() == '''---
  - name: "Guillaume"
  - name: "Jochen"
  - name: "Paul"
  '''
  </code></pre>
  @param coll a collection
  @param c a closure used to convert the objects of coll
  @return a list of values