working data to PHP JSON File