##### 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.

descs = {}
        for plugin in self.plugins.keys():
            doc = None
            filename = Path(to_native(self.plugins[plugin][0]))
            docerror = None
            try:
                doc = read_docstub(filename)
            except Exception as e:
                docerror = e
            
            if doc is None:
                
                base = plugin.split('.')[-1]
                basefile = filename.with_name(base + filename.suffix)
                for extension in ('.py', '.yml', '.yaml'):  
                    docfile = basefile.with_suffix(extension)
                    try:
                        if docfile.exists():
                            doc = read_docstub(docfile)
                    except Exception as e:
                        docerror = e
            if docerror:
                display.warning("%s has a documentation formatting error: %s" % (plugin, docerror))
                continue
            if not doc or not isinstance(doc, dict):