glance v1 objects are not dict like. They are just regular objects. Making them dictlike triggers an unreal path. This also allows us to remove the _shadeunittest logic line in obj_to_dict. Change-Id: Iae2d926a7d8b899ef842b8cb1e898a38ed17adf7