fixed jsonstream; sys.stdout.flush() was the case