converted return of ioutil.ReadFile and json.Marshal to string, dur