middleware for modifying a html response