1.0.5 support checking dicts for key and value types