Stream JSON-serializable python objects as JSON array in file.