Adds json parsing middleware, and hashie support middleware.