Create an option which allows all function output (where applicable) as JSON formatted. Like -o dump does today.