Merging duplicates

This code should updated and merged after https://github.com/alphagov/gds-api-adapters/pull/102 is merged and the version bumped.