remove .json parts of url