fixed namespace edits not returning a dict

Change-Id: I9f1510f74e13237a654b99631c7ab95d1d161182