moved formatter middlewares into bookshelf middlewares