Provides a diff hook on mongoose documents using jsondiffpatch