How to measure ROI of middleware modernization?