Add text body handling middleware