we have the resource json, save it