svg: make AttrMap inner class of SvgElement