jQuery passing json to PHP. PHP opening JSON file and adding data. JSON based API.