Reducing nested elements on cities template