refractoring the object svg spec, remove id, support svg:defs(in
progress)