Fixes #47 by adding extra check for dates before objects because a Date is an Object but we don't want to try and construct it as a new Object
Changed if around to match serialize logic with date being inside object branch
Merge pull request #73 from tpodom/issue47

Fix date deserialization