Fix when author or contributor is not a list
The remove_doubles function doesn't work if fields creator
or author
contains a single dict entry (and not a list of dicts).
The remove_doubles function doesn't work if fields creator
or author
contains a single dict entry (and not a list of dicts).