Restructure code.

Just return newStructure returned by decorated function if newData === oldData.