fix paths to be json-pointer paths