def _unencapsulate_facts(facts, check_version=False):
    """Extract node facts and version from final fact format."""
    assert 'nodes' in facts, 'No nodes present in parsed facts file(s)'
    return facts['nodes'], facts.get('version')