Treat empty strings and collections as  None.