fixed a bug in request/response end() not writing falsey values