Dates and Strings are JavaScript objects, and _pack_models behaves incorrectly in these cases. 

JavaScript dates were not correctly serialized in the widget machinery. @ssunkara