Correctly default `allowDuplicateProperties` to `true`.

Fixes bug in commit from #1