json pritty print stream