fixes crash on json.data and adds parity between streams