go script for country generates now both csv and json