streaming JSON.stringify() for nested streams