Jsonify converts an object stream to a stream of JSON