I have a collection to get data before and after submit form like this

I want to find some difference value in two row such as: Specifications: "blank value"-> test
to get history of change when someone edit item.
Pls give me some suggest. thanks a lot