code: public PactDslJsonArray template(DslPart template, int occurrences) {
  		for(int i = 0; i < occurrences; i++) {
  			template(template);	
  		}
  		return this;
  	}
docs: Adds a number of template objects to the array
  @param template template object
  @param occurrences number to add