remove code that generates duplicate field names

Fixes bug that seemed to have copy-pasted the list fields code twice!
Merge pull request #6 from cfarmer/duplicate_fields

remove code that generates duplicate field names