Improved support to deserialize into dictionaries.