fix format of datetime strings sent down during OTA restore

not sure if this causes other problems,
but the date format here was just from calling unicode on a datetime
which seems unintenional
Merge pull request #4595 from dimagi/dynamic_properties

fix format of datetime strings sent down during OTA restore