change formatOutput option name to pretty