Remove unused import, add check on error and key in json keys.
Remove unused import, add check on error and key in json keys.

Hoshiyo/fabric_navitia,Hoshiyo/fabric_navitia,Hoshiyo/fabric_navitia,CanalTP/fabric_navitia,CanalTP/fabric_navitia