A simple transform stream to output a valid JSON array