DDF-885: Added encode string helper and updated metacard template.