Fix json-stream for PyPy.