made request handler not stringify end when serving homepage