Python 3: fix format_nested_list_of_dict()

In this function, we mean to add actual values, not a map object. In Python 2,
map() did not return a map object, so this worked as expected, but not in
Python3.

Change-Id: Icc6467b7846d62c189765fdfd9dce1e30db7eb55
Sync with Oslo

This fixes a bunch os Python3-related issues, linked to iteritems(), urllib,
encoding, etc.

This is now up-to-date with 6827012438c7c88e0f54803f33c612684cf34e86 in Oslo.

Change-Id: Id8c265d76abfd8ede5575d3903f612ad1ea46643
Merge "Sync with Oslo"