Handled the case when None values are provided to the create_DOM_node_from_dict function