Emits JSON data and drops non JSON data from a stream