Move json formatter to "formatter" module
Add ability to pass status and headers besides dict response
Add built in errors handling