Streamlined entire process. Results are directly exported to JSON