modify json file path from absolute path to relative path