parse json in a through stream, extracted from event stream. instead of console.error, emits errors to the stream