Add a test for empty JSON streams