<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reader(stream):
 """Read Items from a stream containing lines of JSON."""

    for line in stream:
        item = Item()
        item.json = line
        yield item