Fixed unmarshaling of timestamp.