Rename object to values instead of dictionary