refactred code duplication
fix in MapDiffEngine: calculating diff of entity values if id the same