##### 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 plugin in sorted(results.keys()):
                filename = to_native(results[plugin])
                
                pbreak = plugin.split('.')
                if pbreak[-1].startswith('_') and pbreak[0] == 'ansible' and pbreak[1] in ('builtin', 'legacy'):
                    pbreak[-1] = pbreak[-1][1:]
                    plugin = '.'.join(pbreak)
                    deprecated.append("%-*s %-*.*s" % (displace, plugin, linelimit, len(filename), filename))
                else:
                    text.append("%-*s %-*.*s" % (displace, plugin, linelimit, len(filename), filename))
        else:
            
            for plugin in sorted(results.keys()):
                desc = DocCLI.tty_ify(results[plugin])
                if len(desc) > linelimit:
                    desc = desc[:linelimit] + '...'
                pbreak = plugin.split('.')
                if pbreak[-1].startswith('_'):  
                    pbreak[-1] = pbreak[-1][1:]
                    plugin = '.'.join(pbreak)
                    deprecated.append("%-*s %-*.*s" % (displace, plugin, linelimit, len(desc), desc))
                else:
                    text.append("%-*s %-*.*s" % (displace, plugin, linelimit, len(desc), desc))
        if len(deprecated) > 0:
            text.append("\nDEPRECATED:")
            text.extend(deprecated)
        
        DocCLI.pager("\n".join(text))
    def _display_available_roles(self, list_json):