Changes for alps profile response middleware