Investigate Flag patch for modifying ajax response