remove extra .json from path