clean up some jank around passing hashes to the middleware