Only convert request body to string when needed