removed .json from endpoints