work around for HHVM not serializing DateTime correctly. facebook/hhvm#3353