added parsing json from the file on the server