PDF template, convert permit contact fields to array of contacts