code: public LambdaDslObject eachLike(String name, Consumer<LambdaDslObject> nestedObject) {
          final PactDslJsonBody arrayLike = object.eachLike(name);
          final LambdaDslObject dslObject = new LambdaDslObject(arrayLike);
          nestedObject.accept(dslObject);
          arrayLike.closeArray();
          return this;
      }
docs: Attribute that is an array where each item must match the following example
  
  @param name field name