Fix DynamicRecordTemplate to accept DataList argument while setting fields of type array.

Addressed code review feedback.

Added Changelog.