change approach to save-as-go from fetch-all-then-save
error checking for keys in json