removes .json from api