Better error messages when merging duplicate yaml