[dp.json][xs]: fix url to path for resource.