Toolkit for stream-based generation of output for the web