formatter: fix usage of registry by output formats
Merge pull request #10 from jirikuncar/pu-output-formats

formatter: fix usage of registry by output formats

* Closes #7