make json file path relative