Added custom deserializer for proper date handling