Fixing round trip dojo issues with dates