Fix wrapObject to not special case Date