Allow stream to contain multiple Json objects.

Now GenericReader can parse streams like '{"a": 42}{}\n{}'.