Here are some procedures you can call.
Don't modify them, just set up a call to the extract_table procedure.
P.S. These blocks can be dragged directly into your Blocks Editor workspace.

Sample calls:
Once you have the output table, you can use the csv_from_table block to cast it to CSV text, then write that to your output file.
From your JSON, I imagine you would want headers
- latitude
- longitude
- declination





