Added support for other formatters, such as JSON