getdata returns json

Modified getData.php to return JSON, saved as separate file. Continuing
work on nesh_json.js