Set 'NA' as the default value for missing fields in the output template ...

...(fixes #1931)

Remove the `except KeyError` clause, it won't get raised anymore