This method confuses me a bit. It takes a response (from net/http?) and changes the body? It seems dangerous to be mutating it like that.