Bug 913073 - Make templates.js gets the first value in case of the template field is an array.

Fixing edition to consider givenName and familyName as arrays.