Update datatypes.py to handle dict on properties

As a dict's iterator returns keys, sending {"key" : "value"} resulted in receiving ["key"] on dashboard
Uses dict.iteritems() instead
Merge pull request #73 from Tibabal/patch-1

Update datatypes.py to handle dict on properties