format_value returns empty dtring instead of None