JSON location script