Add stats for values on codelists
Convert relative xpaths from global to local