did that already https://github.com/open-city/dedupe/commit/2bf0839d62caf1c40b7e265cb0fe1f35bacd4aca