with open(output_file, 'w') as json_file:
                for json_obj in write_to_file:
                    json.dump(json_obj, json_file, indent=1)
                    json_file.write("\n")