Update example with formatter and output writers
Add example of formatter process.