correcting paths to json data