replace dict.keys() with list(dict)

Partial Implement: blueprint py33-support

Change-Id: I774e5a25d25ef19ffc217910987f2c9b68d13cd3