Moved all nested dict functionality to the CNestedDict type.