Cast dict to map
Cast dict to map

Starlark dict also implements iterable, which causes
array JSON serialization.
This was accidentally removed from ebb0977

Change-Id: If560a7b8d4e3729035ad145f985a8f086a0edf83

google/copybara,google/copybara,google/copybara