view changes for py3

Python3 changes several methods on dict's to views, requiring us to
convert them to lists.

Change-Id: Ib08c03564f198d1c08142c44bf9baac6a73816dd
7 files changed