JSON type now uses a custom defaultdict type.