The server side document generation integration procedure supplied by Salesforce for token data repeats/duplicates records in its output. This video shows you how to update the integration procedure so that only one copy of the records is passed through.