##### SUMMARY
While `ansible-config dump` is a very useful tool for determining the configuration used by Ansible at runtime, it does have a major flaw: its output is not machine parseable.

##### ISSUE TYPE
- Feature Idea

##### COMPONENT NAME
ansible-config

##### ADDITIONAL INFORMATION
ansible-config should have an option to dump config in a machine parseable format like JSON or YAML, so it can be consumed by other tools.

for ext in C.DOC_EXTENSIONS:
            result = loader.find_plugin_with_context(plugin, mod_type=ext, ignore_deprecated=True, check_aliases=True)
            if result.resolved:
                break
        else:
            if not result.resolved:
                raise PluginNotFound('%s was not found in %s' % (plugin, search_paths))
        filename = result.plugin_resolved_path
        collection_name = result.plugin_resolved_collection
        doc, plainexamples, returndocs, metadata = get_docstring(
            filename, fragment_loader, verbose=(context.CLIARGS['verbosity'] > 0),
            collection_name=collection_name, plugin_type=plugin_type)
        
        if doc is None:
            raise ValueError('%s did not contain a DOCUMENTATION attribute' % plugin)
        doc['filename'] = filename
        doc['collection'] = collection_name
        return doc, plainexamples, returndocs, metadata
    @staticmethod
    def _combine_plugin_doc(plugin, plugin_type, doc, plainexamples, returndocs, metadata):