Use python-dateutil for deserialization if it is installed