More informative error message for mergeObjectsWithNoDuplicateKeys

Fixes #1957. Maybe the message is too long? I wanted to add sufficient detail but am happy to amend.