change location resource's 'node' attribute to 'loc'